diff options
author | Laurent Brock | 2024-04-07 09:12:01 +0200 |
---|---|---|
committer | Laurent Brock | 2024-04-07 09:12:01 +0200 |
commit | c3b4128f3586d01a207b380eb7d52e86ebf6728e (patch) | |
tree | 580530d82fc7939468760c477bf7f5aa44daa68f | |
parent | 1d9ad6b663b6969e74669224a4b8d18e9fd06f2d (diff) | |
download | aur-c3b4128f3586d01a207b380eb7d52e86ebf6728e.tar.gz |
Adjustment for iproute2 package changing rt_tables file location, again
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | piavpn-bin.install | 6 |
3 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = piavpn-bin pkgdesc = Private Internet Access client pkgver = 3.5.7 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://privateinternetaccess.com/ install = piavpn-bin.install @@ -6,7 +6,7 @@ build_number=08120 # https://www.privateinternetaccess.com/pages/changelog epoch=1 # Switch versioning schemes for guaranteed upgrades -pkgrel=1 +pkgrel=2 pkgdesc="Private Internet Access client" arch=('x86_64' 'aarch64') url="https://privateinternetaccess.com/" diff --git a/piavpn-bin.install b/piavpn-bin.install index 7479a0d7851c..379a778b6f23 100644 --- a/piavpn-bin.install +++ b/piavpn-bin.install @@ -16,7 +16,7 @@ pre_install() { if ! cat /etc/iproute2/rt_tables > /dev/null 2>&1 # If this doesn't exist, create it! then mkdir -p /etc/iproute2 - cp /usr/lib/iproute2/rt_tables /etc/iproute2/rt_tables + cp /usr/share/iproute2/rt_tables /etc/iproute2/rt_tables fi addRoutingTable piavpnrt @@ -43,9 +43,9 @@ post_remove() { groupdel piavpn groupdel piahnsd - if diff -q /usr/lib/iproute2/rt_tables /etc/iproute2/rt_tables > /dev/null 2>&1 # If files are identical + if diff -q /usr/share/iproute2/rt_tables /etc/iproute2/rt_tables > /dev/null 2>&1 # If files are identical then - echo "/etc/iproute2/rt_tables is identical to default at /usr/lib/iproute2/rt_tables, removing" + echo "/etc/iproute2/rt_tables is identical to default at /usr/share/iproute2/rt_tables, removing" rm /etc/iproute2/rt_tables rmdir /etc/iproute2 fi |