diff --git a/click.mk b/click.mk index 5adf80d..9c11666 100644 --- a/click.mk +++ b/click.mk @@ -72,10 +72,6 @@ PRODUCT_COPY_FILES += \ device/htc/click/custom/handle_compcache:system/bin/handle_compcache \ device/htc/click/custom/rzscontrol:system/bin/rzscontrol -# Backup-Tool for install -PRODUCT_COPY_FILES += \ - device/htc/click/custom/backuptool.sh:system/bin/backuptool.sh - PRODUCT_PROPERTY_OVERRIDES += \ ro.media.dec.jpeg.memcap=10000000 diff --git a/custom/backuptool.sh b/custom/backuptool.sh deleted file mode 100755 index 94f069a..0000000 --- a/custom/backuptool.sh +++ /dev/null @@ -1,169 +0,0 @@ -#!/sbin/sh -# -# Backup and restore proprietary Android system files -# - -C=/tmp/backupdir -S=/system -V=CyanogenMod - -PROCEED=1; - -check_prereq() { - if ( ! grep -q "^ro.modversion=.*$V.*" /system/build.prop ); - then - echo "Not backing up files from incompatible version."; - PROCEED=0; - fi -} - -check_installscript() { - if [ -f "/tmp/.installscript" -a ! -f "$S/etc/force_backuptool" ]; - then - echo "/tmp/.installscript found. Skipping backuptool." - PROCEED=0; - fi -} - -get_files() { - cat < $C/fixed_custom_backup_list.txt - L=`cat $C/fixed_custom_backup_list.txt` - cat <