1
0
Fork 0

mount default apps in /system

This commit is contained in:
Jan Steemann 2014-01-28 14:33:47 +01:00
parent a0122b851e
commit 95da462279
1 changed files with 9 additions and 2 deletions

View File

@ -184,10 +184,17 @@
}
try {
var found = aal.firstExample({ type: "mount", mount: "/_admin/" + appName });
var mount;
if (appName === 'aardvark') {
mount = '/_admin/' + appName;
}
else {
mount = '/system/' + appName;
}
var found = aal.firstExample({ type: "mount", mount: mount });
if (found === null) {
fm.mount(appName, "/_admin/" + appName, {reload: false});
fm.mount(appName, mount, {reload: false});
}
}
catch (err) {