diff options
-rw-r--r-- | flake.nix | 2 | ||||
-rwxr-xr-x | 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 <<EOF |