Browse Source

fix problèmes de protée de la fonction

master
Guillaume Castagnino 7 months ago
parent
commit
ef26e8ead9
  1. 5
      META-INF/com/google/android/update-binary
  2. 6
      dist-font/cm-data/99-font.sh.addon
  3. 2
      dist-font/cm.sh
  4. 6
      dist-google-more/cm-data/99-perso-google-clean-more.sh.addon
  5. 2
      dist-google-more/cm.sh
  6. 6
      dist-google/cm-data/99-perso-google-clean.sh.addon
  7. 2
      dist-google/cm.sh
  8. 6
      dist-std/cm-data/99-perso.sh.addon
  9. 2
      dist-std/cm.sh

5
META-INF/com/google/android/update-binary

@ -59,11 +59,6 @@ find_block() {
fi
}
get_output_path() {
# In recovery we mounted all partitions in the right place, so we can rely on symlinks
echo "$1"
}
cd /tmp
unzip -o "$3"

6
dist-font/cm-data/99-font.sh.addon

@ -18,7 +18,11 @@ else
S=$SYSTEM
SYS=$SYSTEM
# PRODUCT AND SYSTEM_EXT defined from recovery
# get_output_path is no-op function defined from recovery
get_output_path() {
# In recovery we mounted all partitions in the right place, so we can rely on symlinks
echo "$1"
}
fi
# path is needed when running from recovery (at install)

2
dist-font/cm.sh

@ -24,6 +24,8 @@ chmod 755 ${SYSTEM}/addon.d/99-font.sh
# call restore script post to remove bloat
export SYSTEM
export PRODUCT
export SYSTEM_EXT
${SYSTEM}/addon.d/99-font.sh post-restore
echo "Done"

6
dist-google-more/cm-data/99-perso-google-clean-more.sh.addon

@ -18,7 +18,11 @@ else
S=$SYSTEM
SYS=$SYSTEM
# PRODUCT AND SYSTEM_EXT defined from recovery
# get_output_path is no-op function defined from recovery
get_output_path() {
# In recovery we mounted all partitions in the right place, so we can rely on symlinks
echo "$1"
}
fi
# path is needed when running from recovery (at install)

2
dist-google-more/cm.sh

@ -18,6 +18,8 @@ chmod 755 ${SYSTEM}/addon.d/99-perso-google-clean-more.sh
# call restore script post to remove bloat
export SYSTEM
export PRODUCT
export SYSTEM_EXT
${SYSTEM}/addon.d/99-perso-google-clean-more.sh post-restore
echo "Done"

6
dist-google/cm-data/99-perso-google-clean.sh.addon

@ -18,7 +18,11 @@ else
S=$SYSTEM
SYS=$SYSTEM
# PRODUCT AND SYSTEM_EXT defined from recovery
# get_output_path is no-op function defined from recovery
get_output_path() {
# In recovery we mounted all partitions in the right place, so we can rely on symlinks
echo "$1"
}
fi
# path is needed when running from recovery (at install)

2
dist-google/cm.sh

@ -18,6 +18,8 @@ chmod 755 ${SYSTEM}/addon.d/99-perso-google-clean.sh
# call restore script post to remove bloat
export SYSTEM
export PRODUCT
export SYSTEM_EXT
${SYSTEM}/addon.d/99-perso-google-clean.sh post-restore
echo "Done"

6
dist-std/cm-data/99-perso.sh.addon

@ -18,7 +18,11 @@ else
S=$SYSTEM
SYS=$SYSTEM
# PRODUCT AND SYSTEM_EXT defined from recovery
# get_output_path is no-op function defined from recovery
get_output_path() {
# In recovery we mounted all partitions in the right place, so we can rely on symlinks
echo "$1"
}
fi
# path is needed when running from recovery (at install)

2
dist-std/cm.sh

@ -30,6 +30,8 @@ chmod 755 ${SYSTEM}/addon.d/99-perso.sh
# call restore script post to remove bloat
export SYSTEM
export PRODUCT
export SYSTEM_EXT
${SYSTEM}/addon.d/99-perso.sh post-restore
echo "Done"

Loading…
Cancel
Save