diff options
-rwxr-xr-x | share/trashman/tor/unix/linux/debian/install | 1 | ||||
-rw-r--r-- | share/trashman/trashman/debian | 4 |
2 files changed, 3 insertions, 2 deletions
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" |