1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-19 08:45:36 +00:00
dotfiles/install-packages.sh
mlunax a9c21abd0f
Squashed commit of the following:
commit f05701172bca05bc8dd7d798b5a8d3cf33cd23f9
Author: lunax <mlunaelumen@gmail.com>
Date:   Thu Sep 24 16:22:09 2020 +0200

    1
2020-09-24 20:42:58 +02:00

17 lines
399 B
Bash

#!/bin/bash
source /etc/lsb-release
if [ $# -eq 1 ] && [ $1 == "-h" ]; then
exit
fi
if [ 0 -eq $(id -u) ]; then
echo Don\'t run this script as root, please.
echo If it will need permission it will use 'sudo' command.
else
if [ $DISTRIB_ID == "ManjaroLinux" ]; then
echo Install bat
sudo pacman -S bat
echo Install kak
sudo pacman -S kakoune
fi
fi