windvn/mods/packages-apply/modscript

18 lines
467 B
Plaintext
Raw Normal View History

2022-08-10 00:00:49 +00:00
#!/bin/bash
2022-08-26 14:57:07 +00:00
echo "#!/bin/bash" >"$1/oobe/setupComplete/50-packages"
if [ "$WDVN_ONLINE" == "1" ]; then
echo 'echo "A network connection will have to be established, if it isnt already."
echo "Press RETURN to continue."
read
nmtui
' >> "$1/oobe/setupComplete/50-packages"
fi
echo "apt -y install $WDVN_PACKAGES_DL
2022-08-10 00:00:49 +00:00
apt -y remove $WDVN_PACKAGES_REMOVE
2022-08-10 22:21:25 +00:00
apt -y autoremove
2022-09-12 06:48:57 +00:00
apt -y clean
2022-08-26 14:57:07 +00:00
" >>"$1/oobe/setupComplete/50-packages"
chmod +x "$1/oobe/setupComplete/50-packages"