replicant-vendor_replicant/prebuilt/common/bin
PaulW cfe876cefb Update backuptool.sh to correctly process force_backuptool flag/file.
This is regarding the following patch:
5cdb4ec653

The patch which was to allow custom_backup_list.txt to be maintained while flashing via ROMManager
WHILE the flag/file force_backuptool is set/present still has issues.  There are 2 reasons for this.

1) The flag is only checked during the first pass (backuptool.sh backup), as once /etc/force_backuptool
   is known to exist, all files are moved to /tmp/backupdir as designated, but when the script is
   ran again once /system has been wiped and updated, the file /etc/force_backuptool no longer exists
   as it was moved to /tmp/backupdir/force_backuptool, so the script fails as it is not checking that
   location.

2) When the backuptool.sh script is called, the above function (checking for force_backuptool) is called
   *before* the /system partition is mounted.  This therefor ignores the file regardless of whether it
   exists or not.  This is caused by check_installscript being called at the wrong point of the script.

There are therefor 2(two) main changes to this script to allow the force_backuptool override to work.
The first being within the main function of check_installscript, and the second being the location of
where check_installscript is called (ie, I moved it to below check_prereq call in the case statement,
as mounting is called before the check_prereq function checks if the ROM version is the same).

This affects *all* devices.

Change-Id: Ia7438f396eaa91b0723e56bb32ce98725e2b2025
2011-05-17 17:49:39 +01:00
..
backuptool.sh Update backuptool.sh to correctly process force_backuptool flag/file. 2011-05-17 17:49:39 +01:00
compcache Fix compcache 2011-04-10 16:27:32 -05:00
fix_permissions Update fix_permissions to not clobber the UID and GID variables. This causes issues in bash. 2010-08-30 15:27:45 -07:00
handle_compcache Add support for old and new compcache module 2011-04-04 15:36:58 +02:00
modelid_cfg.sh cm: Update APK name of new Kineto app 2011-05-16 22:38:17 -04:00
sysinit Add sysinit script. 2010-07-10 19:26:43 -04:00
verify_cache_partition_size.sh Verify cache size: added exit code 2010-10-17 21:56:20 +02:00