diff --git a/script-install-manual-scripts b/script-install-manual-scripts index c0ab6c84..1a69e63e 100755 --- a/script-install-manual-scripts +++ b/script-install-manual-scripts @@ -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