diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-18 02:36:51 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-18 02:45:34 -0300 |
commit | ded2b0f0db999fd511469ae8ddc49a299627ab10 (patch) | |
tree | b6a372280f293dc38fbaee2260897c9dc4c2a83d /libre-testing/linux-libre/linux-libre_kernels_aur_version.sh | |
parent | 4496a2e7fe43dedb36f22ffd9c9bb9371d448622 (diff) | |
download | abslibre-ded2b0f0db999fd511469ae8ddc49a299627ab10.tar.gz abslibre-ded2b0f0db999fd511469ae8ddc49a299627ab10.tar.bz2 abslibre-ded2b0f0db999fd511469ae8ddc49a299627ab10.zip |
linux-libre-4.8.17_gnu-1: updating version
* move linux-libre-4.9.3_gnu-1 to [libre-testing]
Diffstat (limited to 'libre-testing/linux-libre/linux-libre_kernels_aur_version.sh')
-rwxr-xr-x | libre-testing/linux-libre/linux-libre_kernels_aur_version.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libre-testing/linux-libre/linux-libre_kernels_aur_version.sh b/libre-testing/linux-libre/linux-libre_kernels_aur_version.sh new file mode 100755 index 000000000..c785600e2 --- /dev/null +++ b/libre-testing/linux-libre/linux-libre_kernels_aur_version.sh @@ -0,0 +1,28 @@ +#!/usr/bin/bash + +# Copyright (C) 2015 André Silva <emulatorman@parabola.nu> +# Copyright (C) 2015 Márcio Silva <coadde@parabola.nu> +# +# License: GNU GPLv3+ +# +# This file is part of Parabola. +# +# Parabola is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Parabola is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Parabola. If not, see <http://www.gnu.org/licenses/>. + +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 |