mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-06-07 21:21:11 +00:00
Delete install-packages.sh script
This commit is contained in:
parent
b2b12f7390
commit
3cdadf3776
1 changed files with 0 additions and 25 deletions
|
@ -1,25 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
source /etc/lsb-release
|
|
||||||
function echoGreen(){
|
|
||||||
echo -e "\e[32m"$1"\e[0m"
|
|
||||||
}
|
|
||||||
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
|
|
||||||
install_command='pacman -S --needed'
|
|
||||||
echoGreen "Installing bat"
|
|
||||||
sudo $install_command bat
|
|
||||||
echoGreen "Installing kak"
|
|
||||||
sudo $install_command kakoune
|
|
||||||
echoGreen "Installing Alacritty"
|
|
||||||
sudo $install_command alacritty
|
|
||||||
echoGreen "Installing HTTPie"
|
|
||||||
sudo $install_command httpie
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue