diff options
-rw-r--r-- | src/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh index 140c6dd..c6dc536 100644 --- a/src/install.sh +++ b/src/install.sh @@ -71,7 +71,7 @@ run_postinstall () { else xichroot ${SYSROOT} "/var/lib/xipkg/postinstall/$f" fi - if [ "$?" == "0" ]; then + if [ "$?" = "0" ]; then rm $file && printf "${GREEN}run postinstall for $f!\n" else |