chmod +x the finalize scripts

This commit is contained in:
Harald Sitter
2025-03-04 19:36:59 +01:00
parent bfda7db36c
commit b37390eba6
2 changed files with 4 additions and 4 deletions

View File

@@ -6,9 +6,9 @@ import sys
def modify_nsswitch():
path = "/etc/nsswitch.conf"
print(f"Checking {path}...") # Debug line
# Read the file
try:
with open(path, "r") as file:
@@ -49,7 +49,7 @@ if __name__ == "__main__":
if os.geteuid() != 0:
print("This script must be run as root.", file=sys.stderr)
sys.exit(1)
try:
modify_nsswitch()
except Exception as e:

View File

@@ -21,7 +21,7 @@ fi
# De-initialize pacman
rm -rf \
/etc/pacman.d/gnupg \
/var/cache/pacman
/var/cache/pacman
## Pacman being present confuses users into thinking they can use it to install packages.
## Rename it to kde-linux-readonly-pacman so they're less likely to find it.