This commit is contained in:
Gordon Grant-Stuart 2023-01-18 19:26:57 +00:00
parent 3f1e6da7bf
commit 9b5a35a0b3
2 changed files with 10 additions and 2 deletions

View File

@ -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"

11
init.sh
View File

@ -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 ###############