Skip to content

Commit

Permalink
Update and rename install.sh to customize.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Keinta15 authored Sep 17, 2024
1 parent fee8f4d commit bc52d16
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions install.sh → customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
#
##########################################################################################

AUTOMOUNT=true
SKIPMOUNT=false

PROPFILE=false

POSTFSDATA=false

LATESTARTSERVICE=false

REPLACE_EXAMPLE="
Expand Down Expand Up @@ -73,7 +71,7 @@ on_install() {
if [ $android_ver -ge 31 ]; then
DATA_FONT_DIR="/data/fonts/files"
if [ -d "$DATA_FONT_DIR" ] && [ "$(ls -A $DATA_FONT_DIR)" ]; then
ui_print "- Android 12 Detected"
ui_print "- Android 12+ Detected"
ui_print "- Checking [$DATA_FONT_DIR]"
for dir in $DATA_FONT_DIR/*/ ; do
cd $dir
Expand All @@ -86,7 +84,7 @@ on_install() {
fi
fi
#clear cache data of Gboard
echo "- Clearing Gboard Cache"
ui_print "- Clearing Gboard Cache"
[ -d /data/data/com.google.android.inputmethod.latin ] &&
find /data -type d -path '*inputmethod.latin*/*cache*' \
-exec rm -rf {} + &&
Expand All @@ -107,4 +105,3 @@ set_permissions() {
set_perm_recursive /data/data/com.facebook.katana/app_ras_blobs 0 0 0755 755
set_perm_recursive /data/data/com.facebook.orca/app_ras_blobs/FacebookEmoji.ttf 0 0 0755 700
}

0 comments on commit bc52d16

Please # to comment.