KASM-4046 fixes parrotOS7

This commit is contained in:
Huan Truong 2026-05-11 11:42:55 -05:00
parent ae6d0bfc5d
commit d42b44706f
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
set -e
if [ "${DISTRO}" == "parrotos7" ]; then
PARROTEXTRA="-t lory-backports"
PARROTEXTRA="-t echo-backports"
fi
ARCH="$(uname -m)"
@ -138,7 +138,7 @@ else
if grep -q "kali-rolling" /etc/os-release || grep -q "trixie" /etc/os-release || grep -qi "parrot" /etc/os-release; then
apt-get install ${PARROTEXTRA} -y vim wget net-tools locales bzip2 wmctrl mesa-utils bc vulkan-tools
fi
if grep -q "kali-rolling" /etc/os-release || grep -q "trixie" /etc/os-release; then
if grep -q "kali-rolling" /etc/os-release || grep -q "trixie" /etc/os-release || grep -qi "parrot" /etc/os-release; then
apt-get install ${PARROTEXTRA} -y vim wget net-tools locales bzip2 wmctrl bc
else
apt-get install ${PARROTEXTRA} -y vim wget net-tools locales bzip2 wmctrl software-properties-common bc

View file

@ -13,7 +13,7 @@ cleanup_rpm() {
}
skip_parrotos_due_to_i386_dependencies_lacking() {
if [[ "$DISTRO" == "parrotos6" ]]; then
if [[ "$DISTRO" == @(parrotos6|parrotos7) ]]; then
exit
fi
}