]> gitweb.fluxo.info Git - trashman.git/commitdiff
Feat: adds Debian trixie
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Jun 2023 00:31:22 +0000 (21:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Jun 2023 00:31:22 +0000 (21:31 -0300)
share/trashman/tor/unix/linux/debian/install
share/trashman/trashman/debian

index e88f92cedcb25a82de1816bdd3ae42aa3a9e506b..6676c8df6fe4402698bb4e021b4c6c3aadf07fe2 100755 (executable)
@@ -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
index 78514ae04a1cea9a1f3cfa7fb177acb06a7b7a54..4a2c2ae70619273ad360914755d92767648826bc 100644 (file)
@@ -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"