aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/createpkg
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 20:36:45 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 20:36:45 +0000
commit66ade94289ea598027cafea77b938735edd7ec43 (patch)
tree7ec2014d14ddce924ca893dda922ca76b47285be /trunk/src/createpkg
parent1cd32aa1ac41306594bb7709356f2c57dbf8bdc9 (diff)
downloadsimplepkg-66ade94289ea598027cafea77b938735edd7ec43.tar.gz
simplepkg-66ade94289ea598027cafea77b938735edd7ec43.tar.bz2
minor fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@555 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/createpkg')
-rw-r--r--trunk/src/createpkg8
1 files changed, 5 insertions, 3 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index 804559a..dcc3baa 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -548,15 +548,15 @@ if [ $REMOVE_OLD_PACKAGE -eq $on ]; then
if svn_check $file; then
# Just delete packages with different arch, version or build number
if [ "`package_version $file`" != "$PACKAGE_VERSION" ] || \
- [ "`package_arch $file`" != "$PACKAGE_ARCH" ] || \
- [ "`package_build $file`" != "$PACKAGE_BUILD" ]; then
+ [ "`package_arch $file`" != "$PACKAGE_ARCH" ] || \
+ [ "`package_build $file`" != "$PACKAGE_BUILD" ]; then
svn del --force $file
fi
else
rm $file
fi
done
-
+
for file in `find $MAKEPKG_REPOS -name "$PACKAGE.slack-required"`; do
if svn_check $file; then
if [ $MOVE_SLACK_REQUIRED -eq $off ]; then
@@ -629,4 +629,6 @@ fi
)
+echo "Package saved at $NEW_REPOS/$PKG_NAME"
+
exit $EXIT_CODE