Support for system package install of makeself

This commit is contained in:
Paul M 2023-10-06 20:18:40 -05:00
parent 3709e9fb05
commit 13091dd1c2
2 changed files with 9 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -x
# set -x
if [ "$(id -u)" != "0" ]; then
echo "You should run this script as root"
@ -60,7 +60,7 @@ fi
arcdir=$(mktemp -d)
echo $arcdir
mkslf=$(which makeself.sh)
echo $mkslf
$mkslf --gzip $tmpdir $arcdir/restore.run "SFX archive for restoration" ./restore.bash
cp $arcdir/restore.run ./