diff --git a/.writing/writingenv.sh b/.writing/writingenv.sh index 15dac27..4b8efa0 100755 --- a/.writing/writingenv.sh +++ b/.writing/writingenv.sh @@ -14,6 +14,7 @@ alias download="$SCRIPT_DIR/download.sh" # alias write="$SCRIPT_DIR/write.sh" # alias wryte="$SCRIPT_DIR/write.sh" alias manuskript="$SCRIPT_DIR/write.sh" +alias msk="$SCRIPT_DIR/write.sh" alias atmo="$SCRIPT_DIR/atmo.sh" alias compile="$SCRIPT_DIR/compile.sh" diff --git a/init.sh b/init.sh index 4c0401b..29da500 100755 --- a/init.sh +++ b/init.sh @@ -16,7 +16,7 @@ if [[ $(grep -c "msk=1;38;5;95" ~/.bash_aliases) -eq 0 ]]; then fi -########## Install screen, git & pandoc ############# +########## Detect package manager ############# if type yum &>/dev/null; then pac='yum' @@ -27,10 +27,17 @@ else exit fi -for i in git screen pandoc; do + +########## Install requirements ############# + +for i in git screen python3-pip pandoc; do type $i &>/dev/null || echo -e "$darkbrown Installing $i" && sudo $pac install -y $i done +for i in pyqt5 lxml; do + type $i &>/dev/null || echo -e "$darkbrown Installing $i" && pip install $i +done + ########## Install manuskript ###############