added sudo check, cleaned up comments

This commit is contained in:
2023-08-27 18:54:16 -05:00
parent c475c35795
commit 8fe2302ecc
13 changed files with 85 additions and 6 deletions

View File

@@ -1,5 +1,11 @@
#!/bin/bash
if [ "$EUID" -ne 0 ]
then
echo "Please run as root"
exit
fi
# update bookworm to new debian.sources file
if [[ -f /etc/apt/sources.list.d/debian.sources ]]
then