Stuff
This commit is contained in:
parent
8aff00d3c4
commit
6219cb3126
|
@ -40,7 +40,7 @@ function install-preferences {
|
|||
# System detection
|
||||
if which pacman &> /dev/null; then
|
||||
ARCH=1
|
||||
if [ $ADMIN ]; then
|
||||
if [ $ADMIN == 1 ]; then
|
||||
sudo pacman -Sy
|
||||
function installOne { # package
|
||||
pacman -Q $1 &> /dev/null
|
||||
|
@ -83,7 +83,7 @@ function install-preferences {
|
|||
|
||||
elif which dpkg &> /dev/null; then
|
||||
DEBIAN=1
|
||||
if [ $ADMIN ]; then
|
||||
if [ $ADMIN == 1 ]; then
|
||||
apt-get update
|
||||
function installOne { # package
|
||||
STATUS=$(mktemp)
|
||||
|
@ -179,7 +179,7 @@ function install-preferences {
|
|||
|
||||
# Common GUI
|
||||
|
||||
if [ $GUI ]; then
|
||||
if [ $GUI == 1 ]; then
|
||||
# Desktop manager
|
||||
inst i3 i3lock dmenu dunst unclutter xautolock feh numlockx scrot
|
||||
if [ $DEBIAN ]; then
|
||||
|
@ -208,7 +208,7 @@ function install-preferences {
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ $EXTRA ]; then
|
||||
if [ $EXTRA == 1 ]; then
|
||||
# Extra CLI
|
||||
inst sl
|
||||
|
||||
|
@ -217,7 +217,7 @@ function install-preferences {
|
|||
fi
|
||||
|
||||
# Extra GUI
|
||||
if [ $GUI ]; then
|
||||
if [ $GUI == 1 ]; then
|
||||
inst vlc gimp mpd vimpc
|
||||
|
||||
if [ $ARCH ]; then
|
||||
|
|
Loading…
Reference in a new issue