Disable makepkg's debug
option by default
This commit is contained in:
parent
7c541727bc
commit
4411b9cd08
4 changed files with 24 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
. "../Config/pacman/install.sh";
|
||||
. "../Software/base-devel/install.sh";
|
||||
. "../Software/yay/install.sh";
|
||||
|
||||
# Firmware
|
||||
|
|
12
scripts/Arch/Config/base-devel/install.sh
Executable file
12
scripts/Arch/Config/base-devel/install.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
|
||||
configFile="/etc/makepkg.conf";
|
||||
pattern="^\\(OPTIONS=(.*[( ]\\)\\(debug[ )].*)\\)$";
|
||||
|
||||
if cat "$configFile" | grep "$pattern" > /dev/null
|
||||
then
|
||||
sudo sed -i "/$pattern/s/$pattern/\\1!\\2/" "$configFile"
|
||||
fi;
|
||||
|
||||
popd > /dev/null;
|
10
scripts/Arch/Software/base-devel/install.sh
Executable file
10
scripts/Arch/Software/base-devel/install.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
|
||||
sudo pacman --noconfirm -Syu \
|
||||
base-devel \
|
||||
;
|
||||
|
||||
. "../../Config/base-devel/install.sh";
|
||||
|
||||
popd > /dev/null;
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
if ! command -v yay > /dev/null 2>&1
|
||||
then
|
||||
sudo pacman --noconfirm -S --needed git base-devel
|
||||
sudo pacman --noconfirm -S --needed git
|
||||
contextRoot="$(mktemp -d)";
|
||||
|
||||
git clone https://aur.archlinux.org/yay.git "$contextRoot";
|
||||
|
|
Loading…
Reference in a new issue