aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-08-14 19:26:38 +0000
committerrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-08-14 19:26:38 +0000
commitd5539f3639d19d814e8e2d4985a953e71ee7709a (patch)
treeb687a447da899ce666aab1ca1292b7d11a1b5c08
parentd7e8f3d262be12e8128c9cfd2da87cdd4b4d164f (diff)
downloadsimplepkg-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/createpkg8
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