summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Blakeney2023-02-15 08:04:29 +1000
committerMark Blakeney2023-02-15 08:04:29 +1000
commit275cb0f0d890f394cc6e4105f46b851c7be06289 (patch)
treee14994679bfbb48242e8967135449ed10cef1b39
parent0def43b5a925fce3842b40dba1aeabb955e5595d (diff)
downloadaur-275cb0f0d890f394cc6e4105f46b851c7be06289.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 fb54027258f5..4bb026d6dfef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = skypeforlinux-preview-bin
pkgdesc = Skype for Linux - Preview/Insider Version
pkgver = 8.94.76.419
- pkgrel = 1
+ pkgrel = 2
url = http://www.skype.com
install = install.sh
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index ea44fd6f5e6d..f56836a0894e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_pkgname=skypeforlinux
pkgname="$_pkgname-preview-bin"
pkgver=8.94.76.419
-pkgrel=1
+pkgrel=2
pkgdesc="Skype for Linux - Preview/Insider 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 !!!