From: Andrew Engelbrecht Date: Mon, 7 Aug 2023 18:29:05 +0000 (-0400) Subject: fix unmounting of usb device X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=591213f1af98b6e6bdc675a1beaf2fb6ce75272f;p=fsf-member-card-builder.git fix unmounting of usb device --- diff --git a/install-extras.sh b/install-extras.sh index 317abd8..a6baaf8 100755 --- a/install-extras.sh +++ b/install-extras.sh @@ -68,6 +68,8 @@ rm -f $DEVTMP/fsf/reset.css ### +old_dir="$(pwd)" + cd $DEVTMP/fsf/GNUAV mkdir -p lp2023_audio ; cd lp2023_audio @@ -188,6 +190,8 @@ tar -C $DEVTMP/source/ --no-same-owner --touch --no-overwrite-dir -xvf $TAR || t sync sleep 3 +cd "$old_dir" + umount $DEVTMP rmdir $DEVTMP