From: Silvio Rhatto Date: Thu, 29 Jun 2023 00:31:22 +0000 (-0300) Subject: Feat: adds Debian trixie X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ab9a0a63b5227fdcea81696c28834e044022fca0;p=trashman.git Feat: adds Debian trixie --- diff --git a/share/trashman/tor/unix/linux/debian/install b/share/trashman/tor/unix/linux/debian/install index e88f92c..6676c8d 100755 --- a/share/trashman/tor/unix/linux/debian/install +++ b/share/trashman/tor/unix/linux/debian/install @@ -16,7 +16,6 @@ REQUIREMENTS="apt-transport-https wget gnupg" trashman_apt_install $REQUIREMENTS # Additional parameters -#DISTRIBUTION="bullseye" DISTRIBUTION="`trashman_debian_major_version_name`" cat <<-EOF > /etc/apt/sources.list.d/tor.list diff --git a/share/trashman/trashman/debian b/share/trashman/trashman/debian index 78514ae..4a2c2ae 100644 --- a/share/trashman/trashman/debian +++ b/share/trashman/trashman/debian @@ -75,7 +75,9 @@ trashman_debian_major_version_name() { local number="`cut -d . -f 1 /etc/debian_version`" - if [ "$number" = "12" ]; then + if [ "$number" = "13" ]; then + echo "trixie" + elif [ "$number" = "12" ]; then echo "bookworm" elif [ "$number" = "11" ]; then echo "bullseye"