From 98e1c8c151c03b86da70929a9a4e106a0e5e42ad Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 28 Nov 2008 01:19:47 +0000 Subject: fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@570 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 1 + 1 file changed, 1 insertion(+) (limited to 'trunk/src') diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 1ce7530..a41e149 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -562,6 +562,7 @@ if [ $REMOVE_OLD_PACKAGE -eq $on ]; then # 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 if svn_check $file; then + file="`basename $file .meta`" # strip this otherwise package info functions will fail # Just delete packages with different arch, version or build number if [ "`package_version $file`" != "$PACKAGE_VERSION" ] || \ [ "`package_arch $file`" != "$PACKAGE_ARCH" ] || \ -- cgit v1.2.3