Debian: fixed bugs in upgrade

This commit is contained in:
pelya
2014-05-02 20:01:52 +03:00
parent 61f565890e
commit faafcd2075
3 changed files with 62 additions and 10 deletions

View File

@@ -1,12 +1,9 @@
#!/system/bin/sh
#rm -rf $SDCARD/ubuntu
echo "Extracting XSDL data files"
cd $SECURE_STORAGE_DIR
./busybox tar xzf $UNSECURE_STORAGE_DIR/data-1.tar.gz
rm -f $UNSECURE_STORAGE_DIR/data-1.tar.gz
export SECURE_STORAGE_DIR=$SECURE_STORAGE_DIR/img
cd $SECURE_STORAGE_DIR
echo "Installation path: $SECURE_STORAGE_DIR"
cd $SECURE_STORAGE_DIR/img
echo "Installation path: $SECURE_STORAGE_DIR/img"
./postinstall.sh