aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-06-28 21:31:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-06-28 21:31:22 -0300
commitab9a0a63b5227fdcea81696c28834e044022fca0 (patch)
treeb532496dfaa24144b13173eea3582a264bfbff5f /share
parentb4f416fb59f8177512496d47757527c482d86ac1 (diff)
downloadtrashman-ab9a0a63b5227fdcea81696c28834e044022fca0.tar.gz
trashman-ab9a0a63b5227fdcea81696c28834e044022fca0.tar.bz2
Feat: adds Debian trixie
Diffstat (limited to 'share')
-rwxr-xr-xshare/trashman/tor/unix/linux/debian/install1
-rw-r--r--share/trashman/trashman/debian4
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"