tazpkg diff update-tazpkg.sh @ rev 798
Typo in fr.po
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 03 10:22:53 2015 +0200 (2015-05-03) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/update-tazpkg.sh Sun May 03 10:22:53 2015 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +mkdir -p /usr/lib/tazpkg 1.5 +# /usr/lib/slitaz ? 1.6 + 1.7 +for i in \ 1.8 + tazpkg tazpkg-box tazpkg-notify \ 1.9 + modules/tazpkg-convert modules/tazpkg-find-depends \ 1.10 + tazpanel/pkgs.cgi tazpanel/pkgs ; 1.11 +do 1.12 + fi=$(basename $i) 1.13 + case $i in 1.14 + tazpanel/pkgs.cgi) DIR=/var/www/tazpanel ;; 1.15 + tazpanel/pkgs) DIR=/var/www/tazpanel/menu.d ;; 1.16 + modules/*) DIR=/usr/lib/tazpkg ;; 1.17 + *) DIR=/usr/bin ;; 1.18 + esac 1.19 + [ -f "$DIR/$fi" ] && rm $DIR/$fi 1.20 + wget -P $DIR hg.slitaz.org/tazpkg/raw-file/tip/$i 1.21 + chmod +x $DIR/$fi 1.22 +done