9 lines
233 B
Bash
Executable File
9 lines
233 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
BOOK_DIR="$(cat $HOME/.Books/bookdir)"
|
|
|
|
[[ ! -e $HOME/.Books/initted ]] && $BOOK_DIR/init.sh
|
|
[[ ! -e $BOOK_DIR/backgrounds ]] && ln -s "$HOME/.Books/backgrounds" "$BOOK_DIR/backgrounds"
|
|
|
|
cd $BOOK_DIR && git pull
|