diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-27 15:00:27 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-27 15:00:27 +0100 |
commit | e1daac32c5b7ca0d902c16135d361aa5303f5124 (patch) | |
tree | 3ebe514ae823d23b26c96d8d2db9c6b97e191de4 /bin/app-init | |
parent | 11c930f71db58201994265b71a8f76187f1dbda1 (diff) | |
download | app.sh-e1daac32c5b7ca0d902c16135d361aa5303f5124.tar.gz app.sh-e1daac32c5b7ca0d902c16135d361aa5303f5124.tar.bz2 app.sh-e1daac32c5b7ca0d902c16135d361aa5303f5124.tar.xz app.sh-e1daac32c5b7ca0d902c16135d361aa5303f5124.zip |
o Creating an initial version of install-file.
Diffstat (limited to 'bin/app-init')
-rwxr-xr-x | bin/app-init | 4 |
1 files changed, 3 insertions, 1 deletions
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 |