From daab5443e76fe16642dde1fb2ef32b723fd4037b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 28 Sep 2022 22:11:47 +0300 Subject: [hooks] Removed bash hook scripts and made awk scripts the way to generate the website --- generate-hooks/make-flags.sh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 generate-hooks/make-flags.sh (limited to 'generate-hooks/make-flags.sh') diff --git a/generate-hooks/make-flags.sh b/generate-hooks/make-flags.sh deleted file mode 100755 index 84adfaf..0000000 --- a/generate-hooks/make-flags.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Adds a way to more simply insert flags into text -# Each flag is represented with an ftag (text that is preceded by &&) - -# Available flags: -# Great Britain - &&gb - -if [ -z "$1" ]; then - echo First parameter must be string with file paths - exit -fi - -awkloc="$(dirname "$0")/create-flags.awk" - -for file in $1; do - awk -f "$awkloc" $file > tmp && mv -f tmp $file -done -- cgit v1.3.1-26-gb76a