Skip to content

Commit

Permalink
Fixed a minor issute in the installer cleanup process
Browse files Browse the repository at this point in the history
  • Loading branch information
framps committed Jul 24, 2024
1 parent cebc9d9 commit 8fb4d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ readonly FILES_2_DOWNLOAD"=rpi-clone rpi-clone-setup"
readonly TMP_DIR=$(mktemp -d)
readonly INSTALLATION_DIR="/usr/local/sbin"

trap "{ rmdir $TMP_DIR &>/dev/null; }" SIGINT SIGTERM EXIT

pwd=$PWD
trap "{ cd $pwd; rmdir $TMP_DIR &>/dev/null; }" SIGINT SIGTERM EXIT
cd $TMP_DIR

echo "Installing $PACKAGE ..."
Expand Down

0 comments on commit 8fb4d01

Please sign in to comment.