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