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, 4 insertions, 0 deletions
diff --git a/src/install.sh b/src/install.sh
index c73a202..da8b7a2 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -67,6 +67,10 @@ run_postinstall () {
install () {
local packages=$@
+ if [ "$#" = "0" ]; then
+ packages=$(ls ${INSTALLED_DIR})
+ fi
+
local missing=""
for package in $packages; do
[ ! -f $package ] && missing="$missing $(basename $package)"