From ffbfd03e4aff77f6e30477fd5bec6b73cf01cc2b Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 4 Feb 2021 19:16:49 +0100 Subject: Fix style.css copy path --- flake.nix | 2 +- gal | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 8c00da2..5fb1688 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,7 @@ cp style.css $out/share/gal sed -i 's:convert:${imagemagick}/bin/convert:g' $out/bin/gal - sed -i "s:style.css:$out/share/gal/style.css:g" $out/bin/gal + sed -i "s:cp style.css:cp $out/share/gal/style.css:g" $out/bin/gal ''; }; diff --git a/gal b/gal index c81308e..29a67ed 100755 --- a/gal +++ b/gal @@ -23,7 +23,7 @@ TITLE=${TITLE:-$(basename $OUTPUT)} mkdir -p $2/{photos,thumbs} ## Generate index.html menu file -cat style.css > $OUTPUT/style.css +cp style.css $OUTPUT echo "Generating index.html" cat > $OUTPUT/index.html <