aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 01:24:59 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 01:24:59 +0000
commita12594010604a42da8afecff9b30ae584747e18d (patch)
tree41ad4b68c3feb4bdb8a85b1f716220cf82f6825d /trunk
parentdcf99f4986fbf368911fb27c2b10c2e80482a9a3 (diff)
downloadsimplepkg-a12594010604a42da8afecff9b30ae584747e18d.tar.gz
simplepkg-a12594010604a42da8afecff9b30ae584747e18d.tar.bz2
fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@572 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rw-r--r--trunk/src/createpkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index 19b2c71..f5925a0 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -560,7 +560,7 @@ if [ $REMOVE_OLD_PACKAGE -eq $on ]; then
PACKAGE_BUILD="`package_build $PKG_NAME`"
# Using -mindepth 2 so it doesn't delete the new package
- for file in `find . -mindepth 2 -name "$PACKAGE-*-*-*.tgz" -o -name 'simplepkg-*-*-*.meta'`; do
+ for file in `find . -mindepth 2 -name "$PACKAGE-*-*-*.tgz" -o -name "$PACKAGE-*-*-*.meta"`; do
if svn_check $file; then
file="`echo $file | sed -e 's/\.meta/\.tgz/'`" # otherwise package info functions will fail
# Just delete packages with different arch, version or build number
@@ -592,7 +592,7 @@ if [ $REMOVE_OLD_PACKAGE -eq $on ]; then
else
# Using -mindepth 2 so it doesn't delete the new package
- find $MAKEPKG_REPOS -mindepth 2 -name "$PACKAGE-*-*-*.tgz" -o -name 'simplepkg-*-*-*.meta' -exec rm {} 2>/dev/null \;
+ find $MAKEPKG_REPOS -mindepth 2 -name "$PACKAGE-*-*-*.tgz" -o -name "$PACKAGE-*-*-*.meta" -exec rm {} 2>/dev/null \;
find $MAKEPKG_REPOS -name "$PACKAGE.slack-required" -exec rm {} 2>/dev/null \;
fi
fi