Fix installer
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user