diff options
author | rudson <rudson@04377dda-e619-0410-9926-eae83683ac58> | 2007-08-14 19:26:38 +0000 |
---|---|---|
committer | rudson <rudson@04377dda-e619-0410-9926-eae83683ac58> | 2007-08-14 19:26:38 +0000 |
commit | d5539f3639d19d814e8e2d4985a953e71ee7709a (patch) | |
tree | b687a447da899ce666aab1ca1292b7d11a1b5c08 | |
parent | d7e8f3d262be12e8128c9cfd2da87cdd4b4d164f (diff) | |
download | simplepkg-d5539f3639d19d814e8e2d4985a953e71ee7709a.tar.gz simplepkg-d5539f3639d19d814e8e2d4985a953e71ee7709a.tar.bz2 |
createpkg-1.1.3: salva .slack-required no diretório de binários
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@415 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r-- | trunk/src/createpkg | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 4af0d55..4508e14 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -499,12 +499,8 @@ PKG_NAME="`ls -1 -c $MAKEPKG_REPOS/$PACKAGE-*-*-*.tgz | head -n 1 | xargs basena [ $REMOVE_OLD_PACKAGE -eq $on ] && rm $NEW_REPOS/$PACKAGE-*-*-*.tgz 2>/dev/null # Move package and slack-required to SlackBuilds-like tree -if [ $MOVE_BIN_PACKAGE -eq $on ] then - mv $MAKEPKG_REPOS/$PKG_NAME $NEW_REPOS/ - [ ! -z "$SLACK_REQUIRED" ] && cp $SLACK_REQUIRED $NEW_REPOS/$PKG_NAME.slack-required -else - [ ! -z "$SLACK_REQUIRED" ] && cp $SLACK_REQUIRED $MAKEPKG_REPOS/$PKG_NAME.slack-required -fi +[ $MOVE_BIN_PACKAGE -eq $on ] && mv $MAKEPKG_REPOS/$PKG_NAME $NEW_REPOS/ +[ ! -z "$SLACK_REQUIRED" ] && cp $SLACK_REQUIRED $NEW_REPOS/$PKG_NAME.slack-required # Install package if [ "$INSTALL" -eq $on ]; then |