diff options
author | Daniel Hansson <github@hanssonit.se> | 2021-07-23 00:53:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 00:53:20 +0300 |
commit | 0ba68c65cdbab2439f5e579d51c1c4489d7698d9 (patch) | |
tree | fb7d271d528157136eb329bafd53b486988591ee | |
parent | f1f8cc9cd4f6f1d8c7e639927c0202db1c4e6936 (diff) |
move mkdir
-rw-r--r-- | network/asusnuc/pn51.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/network/asusnuc/pn51.sh b/network/asusnuc/pn51.sh index 7571747b..cbc4c880 100644 --- a/network/asusnuc/pn51.sh +++ b/network/asusnuc/pn51.sh @@ -36,6 +36,9 @@ INSTALLDIR="$SCRIPTS/PN51" OLDRVERSION="9.005.06" RVERSION="9.005.06" +# Make sure the installation directory exist +mkdir -p "$INSTALLDIR" + # Download the driver before it's removed (no internet when it's removed) if [ ! -f "$INSTALLDIR"/r8125-"$RVERSION".tar.bz2 ] then @@ -79,9 +82,6 @@ fi #new_version stay_at_current -# Make sure the installation directory exist -mkdir -p "$INSTALLDIR" - # Check for new version based on current version print_text_in_color "$ICyan" "Checking for newer version of firmware..." if ! curl -k -s https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software | grep "$RVERSION" >/dev/null |