aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/trashman/trashman/debian10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/trashman/trashman/debian b/share/trashman/trashman/debian
index f47c688..4b9530f 100644
--- a/share/trashman/trashman/debian
+++ b/share/trashman/trashman/debian
@@ -63,20 +63,20 @@ trashman_install_apt_key() {
}
# Determine Debian major version name
-trashman_debian_major_version_name {
+trashman_debian_major_version_name() {
if [ ! -e "/etc/debian_version" ];
return 1
fi
local number="`cut -d . -f 1 /etc/debian_version`"
- if [ "$number" == "12" ]; then
+ if [ "$number" = "12" ]; then
echo "bookworm"
- elif [ "$number" == "11" ]; then
+ elif [ "$number" = "11" ]; then
echo "bullseye"
- elif [ "$number" == "10" ]; then
+ elif [ "$number" = "10" ]; then
echo "buster"
- elif [ "$number" == "9" ]; then
+ elif [ "$number" = "9" ]; then
echo "stretch"
fi
}