slitaz-dev-tools rev 147
tazdev: relpkg can update receipt in wok also
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 02 20:13:54 2012 +0100 (2012-03-02) |
parents | 7e359c3b959d |
children | 4c270e31e07e |
files | tazdev/tazdev |
line diff
1.1 --- a/tazdev/tazdev Fri Mar 02 16:27:25 2012 +0100 1.2 +++ b/tazdev/tazdev Fri Mar 02 20:13:54 2012 +0100 1.3 @@ -358,13 +358,21 @@ 1.4 echo "Uploading to: $MIRROR/sources/${pkg#slitaz-}" 1.5 scp $pkg-$version.tar.gz $pkg-$version.md5 \ 1.6 $user@$MIRROR:$MIRROR_SOURCES/${pkg#slitaz-} 1.7 + fi 1.8 + 1.9 + # Update pkg in wok 1.10 + echo -n "Do you wish to update $pkg in wok [N/y] ? " 1.11 + read update 1.12 + if [ "$update" = "y" ]; then 1.13 + cd $PROJECTS/wok 1.14 + sed -i s"/VERSION=.*/VERSION=\"$version\"/" $pkg*/receipt 1.15 fi ;; 1.16 reliso|-ri) 1.17 # Generate all official images iso at once for a specific version. 1.18 get_version $@ 1.19 iso=$slitaz/iso 1.20 mkdir -p $iso 1.21 - for flavor in base core justx firefox 1.22 + for flavor in base core gtkonly firefox 1.23 do 1.24 cd $slitaz 1.25 tazlito pack-flavor $flavor