summaryrefslogtreecommitdiff
path: root/bin/appstore-init
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-10-27 15:14:18 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-10-27 15:14:18 +0100
commit0d92ff5fd34d79b54c30c38ac41bc600acf7b7c4 (patch)
tree7807b9d017e44bc522a75f40c7a4589d994455f8 /bin/appstore-init
parent5821a949035a5e098a2c6b395818f5efa1c66f8e (diff)
downloadappstore-0d92ff5fd34d79b54c30c38ac41bc600acf7b7c4.tar.gz
appstore-0d92ff5fd34d79b54c30c38ac41bc600acf7b7c4.tar.bz2
appstore-0d92ff5fd34d79b54c30c38ac41bc600acf7b7c4.tar.xz
appstore-0d92ff5fd34d79b54c30c38ac41bc600acf7b7c4.zip
o Dropping the CSV file for using a native app config file instead.
o Using apache as an example app. o Adding appstore-add-app as a utility to register appliations.
Diffstat (limited to 'bin/appstore-init')
-rwxr-xr-xbin/appstore-init6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/appstore-init b/bin/appstore-init
index 92f6ab6..029391c 100755
--- a/bin/appstore-init
+++ b/bin/appstore-init
@@ -9,7 +9,7 @@ APPSTORE_HOME=$(cd $(dirname "$0")/.. && pwd)
# HEADER END
usage() {
- echo "usage [server] [name]"
+ echo "usage [server] [remote path] [name]"
exit 1
}
@@ -37,8 +37,8 @@ ret=$?
set -e
sed -n "s,^config: \(.*\),\1,p" $tmpfile > $conffile
-repo_path=`app cat-conf -f "$conffile" -n repo.path | cut -f 2- -d =`
-repo_ok=`app cat-conf -f "$conffile" -n repo.ok | cut -f 2- -d =`
+repo_path=`app cat-conf -f "$conffile" -k repo.path | cut -f 2- -d =`
+repo_ok=`app cat-conf -f "$conffile" -k repo.ok | cut -f 2- -d =`
if [ "$ret" != 0 ]
then