Skip to content

Commit

Permalink
ih8sn: adds a missing else/fi statement and updates the existing (#10)
Browse files Browse the repository at this point in the history
* uninstall.sh: adds a missing else/fi statement and updates the existing

* Update uninstall.sh
  • Loading branch information
atanas-vladimirov authored Nov 20, 2023
1 parent 77097b9 commit 77f40ca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ fi
if [ "$(adb shell find /system -name '*ih8sn*' | wc -l)" -gt 0 ]; then
echo "Removing existing ih8sn files"
adb wait-for-device shell "find /system -name *ih8sn* -delete"
else
echo "No ih8sn files found"
fi
if [ "$(adb shell find /system -name '*props*' | wc -l)" -gt 0 ]; then
echo "Removing existing ih8sn files"
echo "Removing existing props files"
adb wait-for-device shell "find /system -name *props* -delete"
else
else
echo "No ih8sn files found"
echo "No props files found"
fi

# Reboot the device if --reboot option is specified
Expand Down

0 comments on commit 77f40ca

Please sign in to comment.