Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 23 Oct 2014, 00:30
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars ) » Usuarios de habla Hispana
script update [beta]
Moderators: rarsa
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
mama21mama

Joined: 03 Apr 2010
Posts: 526
Location: Lincoln, Buenos Aires, Argentina

PostPosted: Thu 27 Sep 2012, 17:11    Post subject:  script update [beta]
Subject description: solo para el puplet puppy-es y betatester
 

Este script debe ir colocado en /root/my-applications/bin

y de nombre "update".

Luego se ejecuta via terminal

Code:
update


Code:

#!/bin/sh
#270912 instala update de puppy-es...
while [ 1 ];do
LANG=C Xdialog --center --title "Update puppy-es" --icon "/usr/local/lib/X11/pixmaps/archive48.png" --yesno "Hola personita, la version del update que tenemos posiblemente mejore el sistema. Si quiere instalar.\\nClick en el boton 'Yes' para descargar e instalar.\\nNota, si mas tarde desea actualizar solo en terminal ejecute 'update'\\n(se puede instalar posteriormente a través del Gestor de paquetes de Puppy)..." 0 0
if [ $? -eq 0 ];then
mkdir -p /tmp/update
cd /tmp/update
echo -e "#!/bin/sh\nwget --no-cache http://mamalibre.no-ip.org/pub/puppylinux/pet_packages-5/updates_puppy-es.pet" > /tmp/delayedrun_update
chmod 777 /tmp/delayedrun_update
rxvt -bg orange -geometry 80x4 -title "Update puppy-es" -e /tmp/delayedrun_update
echo md5sum
md5sum updates_puppy-es.pet
petget updates_puppy-es.pet > /dev/null 2>&1
rm updates_puppy-es.pet
LANG=C Xdialog --center --title "Update puppy-es" --icon "/usr/local/lib/X11/pixmaps/archive48.png" --msgbox "El update fue descargado\\nReinicie su X" 0 0
else
LANG=C Xdialog --center --title "Update puppy-es" --icon "/usr/local/lib/X11/pixmaps/archive48.png" --msgbox "Lo siento, el update no fue descargado. Intente con el Puppy Package Manager." 0 0
fi
break
done
update.zip
Description  md5sum 97c00d0ea6e32294efa4ccc6abafc362
zip

 Download 
Filename  update.zip 
Filesize  1.25 KB 
Downloaded  135 Time(s) 
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars ) » Usuarios de habla Hispana
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0526s ][ Queries: 13 (0.0155s) ][ GZIP on ]