diff options
Diffstat (limited to 'packages/zaurus-updater/spitz/updater.sh')
-rwxr-xr-x | packages/zaurus-updater/spitz/updater.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/zaurus-updater/spitz/updater.sh b/packages/zaurus-updater/spitz/updater.sh index a0483a1371..07d81b1bda 100755 --- a/packages/zaurus-updater/spitz/updater.sh +++ b/packages/zaurus-updater/spitz/updater.sh @@ -44,7 +44,6 @@ Cleanup(){ rm -f $VTMPNAME > /dev/null 2>&1 rm -f $MTMPNAME > /dev/null 2>&1 rm $CTRLPATH/* > /dev/null 2>&1 - rm $DATAPATH/* > /dev/null 2>&1 exit $1 } trap 'Cleanup 1' 1 15 @@ -95,9 +94,9 @@ fi ### Check that we have a valid tar for TARNAME in gnu-tar GNU-TAR do - if [ -e /mnt/cf/$TARNAME ] + if [ -e $DATAPATH/$TARNAME ] then - TARBIN=/mnt/cf/$TARNAME + TARBIN=$DATAPATH/$TARNAME fi done |