Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2021-07-23 00:53:20 +0300
committerGitHub <noreply@github.com>2021-07-23 00:53:20 +0300
commit0ba68c65cdbab2439f5e579d51c1c4489d7698d9 (patch)
treefb7d271d528157136eb329bafd53b486988591ee
parentf1f8cc9cd4f6f1d8c7e639927c0202db1c4e6936 (diff)
move mkdir
-rw-r--r--network/asusnuc/pn51.sh6
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