From 9658b6d39bf6b65bc5faa6b057e08ff8bd012661 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 10 Apr 2021 11:05:20 +0200 Subject: Fix css path --- gal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gal b/gal index 6dbcfd4..70a92dd 100755 --- a/gal +++ b/gal @@ -24,7 +24,7 @@ TITLE=${TITLE:-$(basename $OUTPUT)} mkdir -p $2/{photos,thumbs} ## Generate index.html menu file -cp style.css $OUTPUT +cp $(dirname $(readlink -f $0))/style.css $OUTPUT chmod 644 $OUTPUT/style.css echo "Generating index.html" -- cgit 1.4.1