summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/install.sh2
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