Fix installer
This commit is contained in:
@@ -17,7 +17,7 @@ manual="README.html"
|
||||
|
||||
[[ ! -f "$manual" ]] && echo "No manual found, skipping!" && exit 1
|
||||
for homedir in /home/*; do
|
||||
remove=("manual.pdf" "manual.odt" "Notes.pdf" "Notes.odt" "README.html")
|
||||
remove=("manual.pdf" "manual.odt" "Notes.pdf" "Notes.odt" "$manual")
|
||||
for f in "${remove[@]}"; do
|
||||
[[ -e "${homedir}/Desktop/$f" ]] && echo "Removing ${homedir}/Desktop/$f" && rm -f "${homedir}/Desktop/$f"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user