Added by default --break-system-package in Update-pkg

This commit is contained in:
Marcin Woźniak 2023-11-02 00:22:05 +01:00
parent d8895dcee3
commit 0ea9b6870e
Signed by: y0rune
GPG Key ID: F204C385F57EB348
1 changed files with 5 additions and 5 deletions

View File

@ -9,13 +9,13 @@ RED='\033[0;31m'
GREEN='\033[0;0;32m' GREEN='\033[0;0;32m'
NC='\033[0m' NC='\033[0m'
PIPEXT="--user --force --quiet" PIPEXT="--user --force --quiet --break-system-packages"
PIPEXTPRE="--pre $PIPEXT" PIPEXTPRE="--pre $PIPEXT"
if [[ "$(uname -r)" =~ "gentoo" || "$(uname -r)" =~ "WSL2" ]]; then # if [[ "$(uname -r)" =~ "gentoo" || "$(uname -r)" =~ "WSL2" ]]; then
PIPEXT="$PIPEXT --break-system-packages" # PIPEXT="$PIPEXT --break-system-packages"
PIPEXTPRE="$PIPEXTPRE --break-system-packages" # PIPEXTPRE="$PIPEXTPRE --break-system-packages"
fi # fi
function timestamp() { function timestamp() {
echo -e "${GREEN}[+]${NC} $(date +'%F %T') [INFO] $*" echo -e "${GREEN}[+]${NC} $(date +'%F %T') [INFO] $*"