10 lines
262 B
Bash
Executable File
10 lines
262 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SCRIPT_DIR=$(dirname $(realpath $0))
|
|
BOOK_DIR=${SCRIPT_DIR/\/.Books/}
|
|
|
|
[[ ! -e $SCRIPT_DIR/initted ]] && $BOOK_DIR/init.sh
|
|
[[ ! -e $BOOK_DIR/backgrounds ]] && ln -s "$SCRIPT_DIR/backgrounds" "$BOOK_DIR/backgrounds"
|
|
|
|
cd $BOOK_DIR && git pull
|