From 591213f1af98b6e6bdc675a1beaf2fb6ce75272f Mon Sep 17 00:00:00 2001 From: Andrew Engelbrecht Date: Mon, 7 Aug 2023 14:29:05 -0400 Subject: [PATCH] fix unmounting of usb device --- install-extras.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.25.1