|
@@ -40,11 +40,8 @@ if test -f "$SLIM_BG_FILE"; then
|
|
|
fi
|
|
|
|
|
|
SEARX_BG_FILE=/usr/local/lib/python2.7/site-packages/searx/static/themes/courgette/img/bg-body-index.jpg
|
|
|
-if test -f "$SEARX_BG_FILE"; then
|
|
|
- echo "Setting Searx background image"
|
|
|
- rm $SEARX_BG_FILE
|
|
|
- cp $SEARX_BASEDIR$date.jpg $SEARX_BG_FILE
|
|
|
-fi
|
|
|
+echo "Setting Searx background image"
|
|
|
+scp $BASEDIR/$date.jpg search.local:$SEARX_BG_FILE
|
|
|
|
|
|
# Then grab our APOD image and store it for now
|
|
|
#Change directory to where the script resides.
|