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 30 Oct 2014, 15:26
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 Posts_count_1  
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]
Sub_title: 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  137 Time(s) 
Back to top
View user's profile Send_private_message Visit_website AIM YIM MSNM 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 1.0337s ][ Queries: 12 (0.4871s) ][ GZIP on ]