From e1daac32c5b7ca0d902c16135d361aa5303f5124 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 27 Jan 2013 15:00:27 +0100 Subject: o Creating an initial version of install-file. --- bin/app-init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/app-init') diff --git a/bin/app-init b/bin/app-init index cca82e1..d61f989 100755 --- a/bin/app-init +++ b/bin/app-init @@ -48,7 +48,7 @@ fi # TODO: install a trap handler and rm -rf "$dir" -resolver=`grep_path "/app-resolver-$resolver_name$" "$PATH:$APPSH_HOME/libexec" | head -n 1` +resolver=`grep_path "/app-resolver-$resolver_name$" "$PATH" | head -n 1` if [ -z "$resolver" ] then @@ -75,3 +75,5 @@ fi echo "Resolved version to $version" "$resolver" download-version -v "$version" -f .app/latest.zip + +app-install-file -v "$version" -f .app/latest.zip -- cgit v1.2.3