try again an other thing, this is driving me crazy

This commit is contained in:
Guillaume Castagnino 2019-04-22 17:30:07 +02:00
parent 27ee29a53b
commit 7dc643ca1e
6 changed files with 15 additions and 9 deletions

View File

@ -5,9 +5,11 @@
# /system/addon.d/99-perso-google-clean-more.sh
#
# we partially use the script at install, if so, $S is allready defined
if [ -z $S ]; then
# we partially use the script at install, if so, $SYSTEM is allready defined
if [ -z $SYSTEM ]; then
. /tmp/backuptool.functions
else
S=$SYSTEM
fi
if [ -z $backuptool_ab ]; then
SYS=$S

View File

@ -15,7 +15,7 @@ chown root:root ${SYSTEM}/addon.d/99-perso-google-clean-more.sh
chmod 755 ${SYSTEM}/addon.d/99-perso-google-clean-more.sh
# call restore script post to remove bloat
export S=${SYSTEM}
export SYSTEM
${SYSTEM}/addon.d/99-perso-google-clean-more.sh post-restore
echo "Done"

View File

@ -5,9 +5,11 @@
# /system/addon.d/99-perso-google-clean.sh
#
# we partially use the script at install, if so, $S is allready defined
if [ -z $S ]; then
# we partially use the script at install, if so, $SYSTEM is allready defined
if [ -z $SYSTEM ]; then
. /tmp/backuptool.functions
else
S=$SYSTEM
fi
if [ -z $backuptool_ab ]; then
SYS=$S

View File

@ -15,7 +15,7 @@ chown root:root ${SYSTEM}/addon.d/99-perso-google-clean.sh
chmod 755 ${SYSTEM}/addon.d/99-perso-google-clean.sh
# call restore script post to remove bloat
export S=${SYSTEM}
export SYSTEM
${SYSTEM}/addon.d/99-perso-google-clean.sh post-restore
echo "Done"

View File

@ -5,9 +5,11 @@
# /system/addon.d/99-perso.sh
#
# we partially use the script at install, if so, $S is allready defined
if [ -z $S ]; then
# we partially use the script at install, if so, $SYSTEM is allready defined
if [ -z $SYSTEM ]; then
. /tmp/backuptool.functions
else
S=$SYSTEM
fi
if [ -z $backuptool_ab ]; then
SYS=$S

View File

@ -27,7 +27,7 @@ chown root:root ${SYSTEM}/addon.d/99-perso.sh
chmod 755 ${SYSTEM}/addon.d/99-perso.sh
# call restore script post to remove bloat
export S=${SYSTEM}
export SYSTEM
${SYSTEM}/addon.d/99-perso.sh post-restore
echo "Done"