aboutsummaryrefslogtreecommitdiff
path: root/libexec/app-install-file
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/app-install-file')
-rwxr-xr-xlibexec/app-install-file9
1 files changed, 3 insertions, 6 deletions
diff --git a/libexec/app-install-file b/libexec/app-install-file
index 1e3edb8..c08a632 100755
--- a/libexec/app-install-file
+++ b/libexec/app-install-file
@@ -54,13 +54,10 @@ then
exit 1
fi
-# TODO: This should go away
-if [ -d current/bin ]
+if [ -r versions/$version/app.config ]
then
- (
- cd $name/$instance/current
- find bin -type f | xargs chmod +x
- )
+ debug "Importing config from package"
+ app-conf import versions/$version/app.config
fi
app-run-hook -v "$version" -h pre-install