]> git.armaanb.net Git - bin.git/commitdiff
git-mirror: remove css copying
authorArmaan Bhojwani <me@armaanb.net>
Mon, 5 Apr 2021 18:16:14 +0000 (14:16 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Mon, 5 Apr 2021 18:16:14 +0000 (14:16 -0400)
This is already integrated into my stagit fork.

git-mirror

index 0b3901fc3f5e45c9051498a56de22f52baebec7b..23a89407c03d69f3ee042acfa9fc5ae96858e8ad 100755 (executable)
@@ -20,7 +20,6 @@ run() {
 
   [ -d ${3} ] || mkdir ${3}
   cd ${3} && stagit-index ${1}/*
-  cp /usr/share/doc/stagit/style.css ${3}
 
   while :; do
     find "$1" -name '*.git' -type d | \
@@ -34,7 +33,6 @@ run() {
             minify ${i} > ${i}.tmp
             mv ${i}.tmp ${i}
           done
-          cp /usr/share/doc/stagit/style.css .
           git -C ${dir} fetch --tags
           echo $(date -Iseconds) ' | ' ${dir} | tee -a ${2}
           echo $(tail -n 1500 ${2}) > ${2}