summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-11-19 13:58:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-11-19 13:58:51 -0300
commit2c58f112aea0ba3e063e4081886a337b3ca6351e (patch)
tree21204759b15087a32537a86a4f08342e5d981a57
parentcb0006d29d0917a598539811e38c32c40abf2270 (diff)
downloadabslibre-2c58f112aea0ba3e063e4081886a337b3ca6351e.tar.gz
abslibre-2c58f112aea0ba3e063e4081886a337b3ca6351e.tar.bz2
abslibre-2c58f112aea0ba3e063e4081886a337b3ca6351e.zip
remove linux kernels from replaces array in linux-libre_kernels_aur_version.sh
-rwxr-xr-xlibre/linux-libre/linux-libre_kernels_aur_version.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/libre/linux-libre/linux-libre_kernels_aur_version.sh b/libre/linux-libre/linux-libre_kernels_aur_version.sh
index c878ab23b..c785600e2 100755
--- a/libre/linux-libre/linux-libre_kernels_aur_version.sh
+++ b/libre/linux-libre/linux-libre_kernels_aur_version.sh
@@ -22,6 +22,7 @@
for kernel in libre/linux-libre{,-lts,-grsec,-pck} kernels/linux-libre-{audit,grsec-{knock,xen},{lts-,}knock,nand,rt,pae,xen}; do
cd ~/packages/abslibre/$kernel
+ sed -i '\|replaces=| s|"${_replacesarchkernel\[@][/%a-z-]*}" ||' $(grep -rlI 'replaces')
sed -i '\|conflicts=| s|"${_replacesarchkernel\[@][/%a-z-]*}" ||' $(grep -rlI 'conflicts')
cd ~/packages/abslibre
done