Skip to content

Commit

Permalink
Merge pull request #36 from framps/master
Browse files Browse the repository at this point in the history
Fixed a minor issue in the installer cleanup process
  • Loading branch information
geerlingguy authored Jul 24, 2024
2 parents cebc9d9 + 8fb4d01 commit 5ecaa7a
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 5ecaa7a

Please sign in to comment.