mirror of
https://github.com/eoli3n/dotfiles
synced 2024-05-26 09:26:06 +02:00
updated install script to support other distros
This commit is contained in:
parent
fc109f2d14
commit
8b229ffe03
|
@ -59,10 +59,17 @@ To use dark theme, go to graphical configuration and click ``Use GTK+ Theme``
|
|||
|
||||
# Server Environment
|
||||
|
||||
Supported OS :
|
||||
## Deps
|
||||
|
||||
- git
|
||||
- ansible
|
||||
|
||||
## Supported OS
|
||||
|
||||
- Archlinux
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
git clone --recursive https://github.com/eoli3n/dotfiles
|
||||
# To list tags
|
||||
|
|
|
@ -2,11 +2,7 @@
|
|||
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
||||
|
||||
if [[ ! -f /usr/bin/ansible ]]
|
||||
then
|
||||
echo "Please install ansible"
|
||||
exit 1
|
||||
fi
|
||||
command -v ansible-playbook >/dev/null 2>&1 || { echo >&2 "I require ansible but it's not installed. Aborting."; exit 1; }
|
||||
|
||||
if [[ -z ${1+x} ]]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue