Use less as pager

This commit is contained in:
Sonny Bakker 2017-07-25 20:07:55 +02:00
parent 810f4cc385
commit 48aadc4c0a

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Debian containers only # Debian containers only
# ca-certificates needed in order to clone from github # ca-certificates needed in order to clone from github
PACKAGES="ca-certificates vim git dbus " PACKAGES="ca-certificates vim git dbus less "
REPO=https://github.com/SonnyBA/dotfiles.git REPO=https://github.com/SonnyBA/dotfiles.git
if [ $EUID != 0 ]; then if [ $EUID != 0 ]; then
@ -92,6 +92,9 @@ EOF
sed -i 's/^ *//g' /home/$SUDO_USER/.ssh/config sed -i 's/^ *//g' /home/$SUDO_USER/.ssh/config
fi fi
echo "Updating default pager to less"
update-alternatives --set pager /bin/less
echo "Enter root pass" echo "Enter root pass"
run passwd run passwd