Added by default --break-system-package in Update-pkg
This commit is contained in:
parent
d8895dcee3
commit
0ea9b6870e
@ -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] $*"
|
||||||
|
Loading…
Reference in New Issue
Block a user