From 4ed659892de9efb0e7a898274ac33bf58572929f Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 28 Nov 2008 00:27:16 +0000 Subject: fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@565 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'trunk/src/createpkg') 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 -- cgit v1.2.3