Fix installer

This commit is contained in:
2021-10-22 18:59:33 -04:00
parent 8e2f27850d
commit 24fffe75a9

View File

@@ -16,14 +16,14 @@ is_root
install -m 644 ./functions /usr/local/bin/
for script in script-*; do
for script in ./script-*; do
cp -f "$script" /usr/local/bin/
done
# Install manual
manual="$README.html"
[[ ! -f "$manual" ]] && echo "No manual found, skipping!" && exit 1
[[ ! -f "./$manual" ]] && echo "No manual found, skipping!" && exit 1
for homedir in /home/*; do
remove=("manual.pdf" "manual.odt" "Notes.pdf" "Notes.odt" "$manual")
for f in "${remove[@]}"; do