diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-08-30 18:22:08 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-08-31 08:59:55 +0200 |
commit | 85819314a0b98b13fa4ab4e39cceb098a1121b0f (patch) | |
tree | e76435bba28ef3e537b3fe1c045a8a2cca6d534b /source/a | |
parent | 34ba4d05d9d2b7f5d72aded4eb35aa617cb8629d (diff) | |
download | current-85819314a0b98b13fa4ab4e39cceb098a1121b0f.tar.gz |
Mon Aug 30 18:22:08 UTC 202120210830182208
a/etc-15.0-x86_64-15.txz: Rebuilt.
/etc/profile: Don't define a $LESS variable, but provide a commented-out
example of "-M -R". As far as I can tell, setting $LESS to -M is something
that we picked up from SLS's /etc/profile at the very beginning and then
kept it because it wasn't causing any problems. Personally, I'll be
uncommenting this because it's nice to get the extra output from less
provided by -M concerning your place in the file, but we'll leave it up
to the end user how to handle this.
Thanks to krown, marav, LockyWolf, and drgibbon.
a/kernel-generic-5.14.0-x86_64-1.txz: Upgraded.
a/kernel-huge-5.14.0-x86_64-1.txz: Upgraded.
a/kernel-modules-5.14.0-x86_64-1.txz: Upgraded.
d/kernel-headers-5.14.0-x86-1.txz: Upgraded.
k/kernel-source-5.14.0-noarch-1.txz: Upgraded.
l/libcap-2.55-x86_64-1.txz: Upgraded.
n/gnupg2-2.2.30-x86_64-1.txz: Upgraded.
n/proftpd-1.3.7c-x86_64-1.txz: Upgraded.
xap/xsnow-3.3.1-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/a')
-rw-r--r-- | source/a/etc/_etc/etc/profile.new | 9 | ||||
-rwxr-xr-x | source/a/etc/etc.SlackBuild | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/source/a/etc/_etc/etc/profile.new b/source/a/etc/_etc/etc/profile.new index f716d786..9cfc74aa 100644 --- a/source/a/etc/_etc/etc/profile.new +++ b/source/a/etc/_etc/etc/profile.new @@ -5,7 +5,14 @@ export MINICOM="-c on" export HOSTNAME="`cat /etc/HOSTNAME`" export LESSOPEN="|lesspipe.sh %s" -export LESS="-M" +# Setting a default $LESS was something inherited from SLS many years ago, +# but apparently the previous setting of "-M" causes display issues with +# some programs (i.e. git log). Adding "-R" as well fixes this, but some +# folks have concerns about the security of this option (I think it's +# actually "-r" that's the dangerous one). Anyway, it might be best to just +# leave this unset by default. Uncomment it if you like, or set up your +# own definition or aliases on a per-account basis. +#export LESS="-M -R" # If the user doesn't have a .inputrc, use the one in /etc. if [ ! -r "$HOME/.inputrc" ]; then diff --git a/source/a/etc/etc.SlackBuild b/source/a/etc/etc.SlackBuild index 424de599..1b23163e 100755 --- a/source/a/etc/etc.SlackBuild +++ b/source/a/etc/etc.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=etc VERSION=15.0 -BUILD=${BUILD:-14} +BUILD=${BUILD:-15} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then |