aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/createpkg
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/createpkg')
-rw-r--r--trunk/src/createpkg10
1 files changed, 5 insertions, 5 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index 42c4043..13796a3 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -617,11 +617,6 @@ if [ $MOVE_BIN_PACKAGE -eq $on ]; then
fi
-# Install package
-if [ "$INSTALL" -eq $on ]; then
- upgradepkg --install-new $NEW_REPOS/$PKG_NAME
-fi
-
# Update repository FILELIST.TXT, ...
(
@@ -651,6 +646,11 @@ fi
)
+# Install package
+if [ "$INSTALL" -eq $on ]; then
+ upgradepkg --install-new $NEW_REPOS/$PKG_NAME
+fi
+
echo "Package saved at $NEW_REPOS/$PKG_NAME"
exit $EXIT_CODE