summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoan Figueras2020-02-16 01:29:47 +0100
committerJoan Figueras2020-02-16 01:29:47 +0100
commit2686bfc6842a9b71af9b4575e8dc37d6a09feb1b (patch)
treee34d68217887a05550ac7322f67a44a0146fa1ae
parentd1723a0d37ebb58b9c1cdb1ebd2c5016de9d098a (diff)
downloadaur-2686bfc6842a9b71af9b4575e8dc37d6a09feb1b.tar.gz
Removed duplicate code
-rw-r--r--PKGBUILD7
1 files changed, 1 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 301eae70653..e9f85437fcf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -142,13 +142,8 @@ prepare() {
scripts/config --disable CONFIG_USER_NS_UNPRIVILEGED
fi
- if [ "$use_ns" = "n" ]; then
- msg2 "Disabling CONFIG_USER_NS_UNPRIVILEGED"
- scripts/config --disable CONFIG_USER_NS_UNPRIVILEGED
- fi
-
# Let's user choose microarchitecture optimization in GCC
- ${srcdir}/choose-gcc-optimization.sh $_microarchitecture
+ sh ${srcdir}/choose-gcc-optimization.sh $_microarchitecture
# This is intended for the people that want to build this package with their own config
# Put the file "myconfig" at the package folder to use this feature