summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Blakeney2023-02-15 08:02:59 +1000
committerMark Blakeney2023-02-15 08:02:59 +1000
commite42d1c2641e72e044854e794943f4c67c5271a74 (patch)
tree88e1e2b6feee36be100ac5641b5e3b38d8e96a78
parent6a7debd82b27efb1e36a014c98466689aed720eb (diff)
downloadaur-e42d1c2641e72e044854e794943f4c67c5271a74.tar.gz
Fix sysctl check
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--install.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 818561cce120..5e572c37a074 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = skypeforlinux-stable-bin
pkgdesc = Skype for Linux - Stable/Release Version
pkgver = 8.93.0.408
- pkgrel = 1
+ pkgrel = 2
url = http://www.skype.com
install = install.sh
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 766eb21b210f..0fc12b93efd2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=skypeforlinux
pkgname="$_pkgname-stable-bin"
pkgver=8.93.0.408
-pkgrel=1
+pkgrel=2
pkgdesc="Skype for Linux - Stable/Release Version"
arch=("x86_64")
url="http://www.skype.com"
diff --git a/install.sh b/install.sh
index 4d02183d6b3b..8a4887df21ae 100644
--- a/install.sh
+++ b/install.sh
@@ -3,7 +3,7 @@ _userns="kernel.unprivileged_userns_clone"
post_install() {
userns="$(sysctl -n $_userns 2>/dev/null)"
- if [[ $? -ne 0 || $userns -ne 1 ]]; then
+ if [[ $? -eq 0 && $userns -ne 1 ]]; then
echo -e "\e[34;1m"
echo ===
echo === !!! WARNING !!!