permission changes.

This commit is contained in:
Matt Knoop
2025-12-08 10:17:25 -07:00
parent 71833416e4
commit 98e8ee8800
5 changed files with 18 additions and 8 deletions

View File

@@ -4,8 +4,10 @@ if [ "$(id -u)" -ne 0 ]; then
exec sudo "$0" "$@"
fi
set -e
list="kpartx podman debootstrap"
list="kpartx podman debootstrap "
apt update
for item in $list; do
apt list --installed $item 2>/dev/null || sudo apt-get install -y $item
apt install -y $item
done
cd "$(dirname "$0")"
find . -type f -name "*" -exec chmod +x {} +