aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--locale/nb_NO.UTF-8/LC_MESSAGES/remove-old-kernels.mobin6153 -> 6233 bytes
-rwxr-xr-xremove-old-kernels3
-rw-r--r--remove-old-kernels.12
3 files changed, 2 insertions, 3 deletions
diff --git a/locale/nb_NO.UTF-8/LC_MESSAGES/remove-old-kernels.mo b/locale/nb_NO.UTF-8/LC_MESSAGES/remove-old-kernels.mo
index 3485380..80cf531 100644
--- a/locale/nb_NO.UTF-8/LC_MESSAGES/remove-old-kernels.mo
+++ b/locale/nb_NO.UTF-8/LC_MESSAGES/remove-old-kernels.mo
Binary files differ
diff --git a/remove-old-kernels b/remove-old-kernels
index 4684dfb..f78a4a7 100755
--- a/remove-old-kernels
+++ b/remove-old-kernels
@@ -15,7 +15,8 @@ NBK=3 # Default number of kernels to keep.
DEBUG=0 # 1 for test mode, urpme is simulated and not applied
MODE="I" # mode A)utomatic, I)nteractve (DO NOT CHANGE THIS)
VISU=0 # If VISU=1, show commands which can be used
-LANG=$(echo $LANGUAGE|cut -d: -f1)
+#LANG=$(echo $LANGUAGE|cut -d: -f1)
+LANGUAGE="${LANG}:${LANGUAGE}"
# Colours for display Defaults Used for
Normal="\e[0m" # System default f/g colour
diff --git a/remove-old-kernels.1 b/remove-old-kernels.1
index 080b556..978e1e5 100644
--- a/remove-old-kernels.1
+++ b/remove-old-kernels.1
@@ -30,8 +30,6 @@ This is a good way to make a quick check without any risk of error.
\fBIn automatic mode a log is kept at /var/log/remove-old-kernels.log. The log is limited to 1000 lines (up to a year) and will then start to remove the oldest entries whilst adding new ones. See the -l option to view the log.
.br
-NOTE: If the 'remove old kernels' package is uninstalled, then the log will also be removed,
-so if you need it, you must make a backup of /var/log/remove-old-kernels.log before uninstalling.
.SH DISPLAY