Skip to content

Commit

Permalink
fix uninstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
sullyj3 committed Jul 25, 2024
1 parent 2c8b19b commit ddcf8f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ set -e
BIN_PATH="/usr/bin/sand"
SERVICE_PATH="/usr/lib/systemd/user/sand.service"
SOCKET_PATH="/usr/lib/systemd/user/sand.socket"
SOUND_PATH="/usr/share/sand/timer_sound.opus"
SOUND_DIR="/usr/share/sand"
SOUND_PATH="$SOUND_DIR/timer_sound.opus"

install_sand() {
set -x
Expand All @@ -30,6 +31,7 @@ uninstall_sand() {
set -x

rm -f "$BIN_PATH" "$SERVICE_PATH" "$SOCKET_PATH" "$SOUND_PATH"
rm -rf "$SOUND_DIR"

{ set +x; } 2>/dev/null

Expand Down

0 comments on commit ddcf8f5

Please sign in to comment.