Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkaW committed Feb 5, 2020
1 parent d7194c1 commit 02a8108
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion template/magisk_module/customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RIRU_VERSION_CODE="%%%RIRU_VERSION_CODE%%%"
RIRU_VERSION_NAME="%%%RIRU_VERSION_NAME%%%"

# check android
if [[ $API -lt 23 ]]; then
if [ "$API" -lt 23 ]; then
abort "! Unsupported sdk: $API"
else
ui_print "- Device sdk: $API"
Expand Down
4 changes: 3 additions & 1 deletion template/magisk_module/uninstall.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/sbin/sh
RIRU_PATH="/data/misc/riru"
rm -f "$RIRU_PATH/api_version"
rm -f "$RIRU_PATH/api_version"
rm -f "$RIRU_PATH/version_code"
rm -f "$RIRU_PATH/version_name"

0 comments on commit 02a8108

Please sign in to comment.