A installer script generator

This commit is contained in:
2015-07-12 18:47:59 +05:30
parent 7ee0a67af7
commit 3e4fedcb0d
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
appRoot=$(dirname $(readlink -f $0));
cat "$appRoot/lib/installer_common" "$appRoot/packages/self" > "$appRoot/installer.sh";
echo 'mainInstaller;' >> "$appRoot/installer.sh";
chmod u+x "$appRoot/installer.sh";