diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-10-06 11:47:27 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2006-10-06 11:47:27 +0000 |
commit | eb06fa5d24eaf6d4569ee0ff82d3df1e1eda79ef (patch) | |
tree | 110e41c37544a23992b6b2fb5a877dac40932132 | |
parent | e54f36538fc484320bed8ba70189367d419e790b (diff) | |
download | simplepkg-eb06fa5d24eaf6d4569ee0ff82d3df1e1eda79ef.tar.gz simplepkg-eb06fa5d24eaf6d4569ee0ff82d3df1e1eda79ef.tar.bz2 |
simplepkg small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@15 04377dda-e619-0410-9926-eae83683ac58
-rwxr-xr-x | simplepkg.SlackBuild | 2 | ||||
-rw-r--r-- | src/createpkg | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/simplepkg.SlackBuild b/simplepkg.SlackBuild index 8caed86..f218c82 100755 --- a/simplepkg.SlackBuild +++ b/simplepkg.SlackBuild @@ -5,7 +5,7 @@ PACKAGE="simplepkg" PACK_DIR="package-$PACKAGE" -BUILD="1rha" +BUILD="2rha" VERSION="0.4.9pre5" ARCH="noarch" LIBEXEC="/usr/libexec/$PACKAGE" diff --git a/src/createpkg b/src/createpkg index faa7e0e..ce0b417 100644 --- a/src/createpkg +++ b/src/createpkg @@ -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 |