Organized gen_installer.bash
This commit is contained in:
parent
01944bf780
commit
62e996290e
|
@ -10,13 +10,13 @@
|
|||
|
||||
{
|
||||
echo "#!/bin/bash"
|
||||
echo
|
||||
echo "# This script generated automatically by gen_installer.bash"
|
||||
echo ""
|
||||
echo -n "archive='"
|
||||
tar -cz qq2clone lv_api_do | base64
|
||||
echo "'"
|
||||
echo
|
||||
cat inst_fragment.bash
|
||||
} > qq2clone_installer.bash
|
||||
chmod +x qq2clone_installer.bash
|
||||
|
||||
echo -n "archive='" >> qq2clone_installer.bash
|
||||
tar -cz qq2clone lv_api_do | base64 >> qq2clone_installer.bash
|
||||
echo "'" >> qq2clone_installer.bash
|
||||
|
||||
cat inst_fragment.bash >> qq2clone_installer.bash
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This script generated automatically by gen_installer.bash
|
||||
|
||||
archive='H4sIAAAAAAAAA9Q8+3PaRrf9WX/FRmZiSMA8kjS3jklLbJwwtY3jR9qM6zICLaDPQiJayTaTL/dv
|
||||
|
@ -537,6 +538,7 @@ jcHzrzNsx2pgTCT95lWmfz3DfW/kEYp3Iukzzv7hptN+/NcZbn8oz7hDGDiXVij/pnV+enNvHfXL
|
|||
CdPr71YRYJj2S/rNkn4wiB/md7uUH/LTNf09QXiSXCoYYvrtkvSR7CPIhhnOxPePW5y6u7/HZON8
|
||||
KFDmCfff21PS/wsZh/cECcL013/Xf9d/13/Xf9d/13/Xf9d/13/Xf9d/13/X5vf/Aa/zuQcA4AEA
|
||||
'
|
||||
|
||||
# Tail end of the installer script, following the tar archive
|
||||
|
||||
[[ -z "$HOME" ]] &&
|
||||
|
@ -583,4 +585,7 @@ done
|
|||
mv "${temp_dir}/lv_api_do" "${location}/"
|
||||
} || { echo "Unexpected filesystem permissions error"; exit 1; }
|
||||
|
||||
# TODO Replace qq2clone first_time_setup
|
||||
# TODO offer to 'install' by placing in path
|
||||
|
||||
rm -rf "${temp_dir:?}" &>/dev/null
|
||||
|
|
Loading…
Reference in New Issue