aboutsummaryrefslogtreecommitdiff
path: root/share/trashman
diff options
context:
space:
mode:
Diffstat (limited to 'share/trashman')
-rw-r--r--share/trashman/trashman/functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/trashman/trashman/functions b/share/trashman/trashman/functions
index 83ef0cf..4551bc8 100644
--- a/share/trashman/trashman/functions
+++ b/share/trashman/trashman/functions
@@ -47,7 +47,8 @@ trashman_distro() {
# Distro release version
trashman_distro_release() {
if [ -e "/etc/os-release" ]; then
- grep "^VERSION=" /etc/os-release | cut -d '(' -f 2 | cut -d ')' -f 1
+ #grep "^VERSION=" /etc/os-release | cut -d '(' -f 2 | cut -d ')' -f 1
+ grep "^VERSION_CODENAME=" /etc/os-release | cut -d '=' -f 2
fi
}