From 78c30ffc51cb45c62838b12ab6acd178ba901205 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 22 Oct 2021 23:45:54 -0700 Subject: [PATCH] Scripts are no longer needed --- scripts/change_blog_nix.sh | 3 --- scripts/update_blog.sh | 1 - 2 files changed, 4 deletions(-) delete mode 100755 scripts/change_blog_nix.sh delete mode 100755 scripts/update_blog.sh diff --git a/scripts/change_blog_nix.sh b/scripts/change_blog_nix.sh deleted file mode 100755 index 6027006..0000000 --- a/scripts/change_blog_nix.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "New rev: $1" -echo "New SHA256: $2" -sed -i "s/rev = \".*\"/rev = \"$1\"/;s/sha256 = \".*\"/sha256 = \"$2\"/" default.nix diff --git a/scripts/update_blog.sh b/scripts/update_blog.sh deleted file mode 100755 index d436707..0000000 --- a/scripts/update_blog.sh +++ /dev/null @@ -1 +0,0 @@ -nix-prefetch-git --rev refs/heads/master https://dev.danilafe.com/Web-Projects/blog-static.git --quiet --fetch-submodules | jq '.rev,.sha256' | xargs ./change_blog_nix.sh