X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=brc2;h=ff0d7a8c97f38dedbbd3d284df7553cef5fe3b18;hb=3342374657bd712f14cd772378b23d2bca3382cb;hp=c857670bc64f937d381c42e6123a79ba8f480bcf;hpb=f27b67a1dfa58b5f101bba607b2f91a73e65299e;p=distro-setup diff --git a/brc2 b/brc2 index c857670..ff0d7a8 100644 --- a/brc2 +++ b/brc2 @@ -925,7 +925,7 @@ beetag() { else pl_state_file=sorted fi - pl_state_dir=/i/info/pl-state + pl_state_dir=/b/data/pl-state if [[ $playlist ]]; then pl_state_dir=$pl_state_dir/$playlist else @@ -2012,6 +2012,10 @@ apache-apply-repo() { apache-apply() { for file; do + if [[ ! -e $file ]]; then + echo '#!/bin/bash' >$file + chmod +x $file + fi if head -n1 "$file"| grep -E '^#!/' &>/dev/null; then { head -n1 "$file"