Skip to content

Commit

Permalink
Two fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Olf0 authored Dec 19, 2022
1 parent d482b54 commit 2303d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/harbour-storeman-installer
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!sh
#!/bin/sh
set -uFC # "-u" (error when using uninitialised variables),
# "-f" (disable pathname expansion) and "-C" (no-clobber / -overwrite).
# Ultimately decided against "-e", because this script better runs through,
Expand Down Expand Up @@ -181,7 +181,7 @@ do
setsid --fork sh -c '(i=0; while [ $i -le 9 ] && ps -eo pid | grep -Fq "$1"; do sleep 1; i=$(($i+1)); done; sleep 20;\
printf '\n%s\n' "$(date -Iseconds) [Self-removal] $2";\
systemd-cat -t "$3" -p 6 printf '%s\n' "[Info] Self-removal in 20 seconds: $2";\
eval $2) &' sh_rm_storeman-installer "$mypid" "$logentry" "$called"
eval $2)' sh_rm_storeman-installer "$mypid" "$logentry" "$called"
fi
done
logentry="pkcon -pvy install harbour-storeman"
Expand Down

0 comments on commit 2303d9e

Please sign in to comment.