]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
simplepkg small fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 6 Oct 2006 11:47:27 +0000 (11:47 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 6 Oct 2006 11:47:27 +0000 (11:47 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@15 04377dda-e619-0410-9926-eae83683ac58

simplepkg.SlackBuild
src/createpkg

index 8caed86d75d4e1eb371196d9eb20937a5a137881..f218c82237239d45610f8a815fffb27b87768087 100755 (executable)
@@ -5,7 +5,7 @@
 
 PACKAGE="simplepkg"
 PACK_DIR="package-$PACKAGE"
-BUILD="1rha"
+BUILD="2rha"
 VERSION="0.4.9pre5"
 ARCH="noarch"
 LIBEXEC="/usr/libexec/$PACKAGE"
index faa7e0ef5ff19fb0022d77f17d2b49ec37cc78ea..ce0b4170a11e0d537cf1b82f564cba79ac85ca0b 100644 (file)
@@ -139,10 +139,7 @@ check_repo
 if [ -z "$1" ]; then
   safe_exit 4
 elif [ "$#" == "2" ]; then
-  if [ "$1" == "--sync" ]; then
-    sync_repo 
-    exit
-  elif [ "$1" == "--search" ]; then
+  if [ "$1" == "--search" ]; then
     find_script $2
     exit
   elif [ "$1" == "--install" ]; then
@@ -154,6 +151,9 @@ elif [ "$#" == "2" ]; then
   else
     safe_exit 4
   fi
+elif [ "$1" == "--sync" ]; then
+  sync_repo 
+  exit
 elif [ "${1:0:1}" != "-" ]; then
   PACKAGE="$1"
 else