]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
minor fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 27 Nov 2008 20:36:45 +0000 (20:36 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 27 Nov 2008 20:36:45 +0000 (20:36 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@555 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh
trunk/src/createpkg

index 5538668f7d27513d0596a41bf1a36ef186dc00af..5b697722c75791ab803dcdfa6386a4d9694f96c6 100644 (file)
@@ -813,8 +813,6 @@ function gen_meta {
 
   if [ ! -f $1 ]; then
     return 1
-  else
-    echo "Creating metafile for $1"
   fi
 
   if [ "`echo $1|grep -E '(.*{1,})\-(.*[\.\-].*[\.\-].*).tgz[ ]{0,}$'`" == "" ]; then
@@ -847,6 +845,7 @@ function gen_meta {
   tar xzfO $1 install/slack-desc | grep -E '\w+\:' | grep -v '^#' >> $LOCATION/$METAFILE
 
   echo "" >> $LOCATION/$METAFILE
+  echo "Created metafile for `basename $1`"
 
   svn_add $LOCATION/$METAFILE
 
index 804559a6a00919eadecc4ee5141a62fe5b0d1ec3..dcc3baa2d317763a295b32c6d58615deea18ff78 100644 (file)
@@ -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