aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfunctions.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.sh b/functions.sh
index 49faaf8..dfb3b16 100755
--- a/functions.sh
+++ b/functions.sh
@@ -863,7 +863,9 @@ function extrapackage() {
if [ "x${DESKTOP_TASK}" != "x" ]; then
installpkg ${DESKTOP_TASK}
fi
- installpkg "${PACKAGE_VALID}"
+ if [ "x${PACKAGE_VALID}" != "x" ]; then
+ installpkg "${PACKAGE_VALID}"
+ fi
return 0
}