summaryrefslogtreecommitdiff
path: root/src/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/install.sh')
-rw-r--r--src/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install.sh b/src/install.sh
index 959061a..fa08d33 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -64,8 +64,8 @@ run_postinstall () {
sh "/var/lib/xipkg/postinstall/$f" &&
rm $file &&
printf "${GREEN}run postinstall for $f!\n"
- done
- rmdir $postinstall
+ done
+ rmdir $postinstall 2> /dev/null
fi
}