iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i3 improvements
[distro-setup]
/
brc2
diff --git
a/brc2
b/brc2
index c857670bc64f937d381c42e6123a79ba8f480bcf..ff0d7a8c97f38dedbbd3d284df7553cef5fe3b18 100644
(file)
--- a/
brc2
+++ b/
brc2
@@
-925,7
+925,7
@@
beetag() {
else
pl_state_file=sorted
fi
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
if [[ $playlist ]]; then
pl_state_dir=$pl_state_dir/$playlist
else
@@
-2012,6
+2012,10
@@
apache-apply-repo() {
apache-apply() {
for file; do
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"
if head -n1 "$file"| grep -E '^#!/' &>/dev/null; then
{
head -n1 "$file"