parent
052f411433
commit
4e0808449d
@ -102,7 +102,7 @@ abstract class InstallIntoSystem {
|
||||
protected List<String> getCopyToSystemCommands() {
|
||||
final List<String> commands = new ArrayList<>(2);
|
||||
commands.add("cat " + context.getPackageCodePath() + " > " + getInstallPath() + ".tmp");
|
||||
commands.add("chmod 655 " + getInstallPath() + ".tmp");
|
||||
commands.add("chmod 644 " + getInstallPath() + ".tmp");
|
||||
return commands;
|
||||
}
|
||||
|
||||
@ -178,7 +178,7 @@ abstract class InstallIntoSystem {
|
||||
List<String> commands = new ArrayList<>(3);
|
||||
commands.add("mkdir " + getSystemFolder()); // create app directory if not existing
|
||||
commands.add("cat " + context.getPackageCodePath() + " > " + getInstallPath() + ".tmp");
|
||||
commands.add("chmod 655 " + getInstallPath() + ".tmp");
|
||||
commands.add("chmod 644 " + getInstallPath() + ".tmp");
|
||||
return commands;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user