mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-18 16:26:50 +00:00
Squashed commit of the following:
commit f05701172bca05bc8dd7d798b5a8d3cf33cd23f9 Author: lunax <mlunaelumen@gmail.com> Date: Thu Sep 24 16:22:09 2020 +0200 1
This commit is contained in:
parent
a759d03dad
commit
a9c21abd0f
1 changed files with 17 additions and 0 deletions
17
install-packages.sh
Normal file
17
install-packages.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/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
|
||||
|
Loading…
Add table
Reference in a new issue