diff options
Diffstat (limited to 'patch/armbian2shopno')
-rw-r--r-- | patch/armbian2shopno | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patch/armbian2shopno b/patch/armbian2shopno index e33ac41..ff5cf19 100644 --- a/patch/armbian2shopno +++ b/patch/armbian2shopno @@ -19,12 +19,12 @@ cd "$SWDIR" apt install curl -file="$( +ver="$( curl --disable -sL "https://$REPO/pool/main/j/jadupc-archive-keyring/" | - grep -oEm1 'jadupc-archive-keyring_[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}_all\.deb' | sort -u + grep -oE '[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}(\+nmu[0-9]*)?' | sort -uVr | head -n1 )" -curl --disable -sL# "https://$REPO/pool/main/j/jadupc-archive-keyring/$file" -o keyring.deb +curl --disable -sL# "https://$REPO/pool/main/j/jadupc-archive-keyring/jadupc-archive-keyring_${ver}_all.deb" -o keyring.deb dpkg -i keyring.deb cat > /etc/apt/sources.list.d/jadupc.list << EOF |