Changeset 1554
- Timestamp:
- 06/29/07 20:56:16 (6 years ago)
- File:
-
- 1 edited
-
scripts/watch.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scripts/watch.sh
r1553 r1554 26 26 27 27 # ARCH Checks 28 PKG=` basename ${x/%trunk\/debian\/watch/}`29 30 COUNT=`/usr/bin/find $ LOCAL_REPO | /bin/grep $PKG| /bin/grep -c amd64.deb`28 PKG=`/usr/bin/basename ${x/%trunk\/debian\/watch/}` 29 PATH=`/usr/bin/find $LOCAL_REPO -type d | /bin/grep $PKG` 30 COUNT=`/usr/bin/find $PATH | /bin/grep -c amd64.deb` 31 31 if [ $COUNT -ne 0 ]; then 32 32 AMD64="amd64" … … 35 35 fi 36 36 37 COUNT=` find $LOCAL_REPO | /bin/grep $PKG| /bin/grep -c i386.deb`37 COUNT=`/usr/bin/find $PATH | /bin/grep -c i386.deb` 38 38 if [ $COUNT -ne 0 ]; then 39 39 I386="i386" … … 42 42 fi 43 43 44 COUNT=` find $LOCAL_REPO | /bin/grep $PKG| /bin/grep -c all.deb`44 COUNT=`/usr/bin/find $PATH | /bin/grep -c all.deb` 45 45 if [ $COUNT -ne 0 ]; then 46 46 ALLARCH="all" … … 52 52 53 53 # work around the plus bug 54 x=`echo $x | awk '{ gsub(/+/, "KKK"); print }'`54 x=`echo $x | /usr/bin/awk '{ gsub(/+/, "KKK"); print }'` 55 55 56 lynx -source $BASE_URL/watch.php?vars=${x/%debian\/watch/}*$ARCHS |sed s/Debian/Parsix/g >> $BASE_PATH/index.html56 /usr/bin/lynx -source $BASE_URL/watch.php?vars=${x/%debian\/watch/}*$ARCHS | /bin/sed s/Debian/Parsix/g >> $BASE_PATH/index.html 57 57 58 58 done 59 59 60 echo "<p align=center>Last Update: ` date`</p>" >> $BASE_PATH/index.html60 echo "<p align=center>Last Update: `/bin/date`</p>" >> $BASE_PATH/index.html 61 61 62 62 echo $FOOTER >> $BASE_PATH/index.html
Note: See TracChangeset
for help on using the changeset viewer.


