From db9d8510eb7c8633703cd27ae2e3640992e906f1 Mon Sep 17 00:00:00 2001 From: Arne Coucheron Date: Thu, 24 Feb 2011 06:08:07 +0100 Subject: [PATCH] click: Use system-wide backuptool.sh No need for this to be custom anymore Change-Id: I76e87c356e90e70a516b4c16fe7cbd1a9c96399a --- click.mk | 4 - custom/backuptool.sh | 169 ------------------------------------------- 2 files changed, 173 deletions(-) delete mode 100755 custom/backuptool.sh 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 <