diff options
| author | kaotisk <kaotisk@arching-kaos.org> | 2024-11-15 09:30:34 +0200 | 
|---|---|---|
| committer | kaotisk <kaotisk@arching-kaos.org> | 2024-11-15 09:30:34 +0200 | 
| commit | 3dab40bb8dcfb2c4fffaf4ea9827114f40a1ef03 (patch) | |
| tree | ded02b6ed599a8f37164f20c7ff5391ed8123b6a | |
| parent | 1349977100fb53d3b7e9a3722755d4e2321f9521 (diff) | |
| download | arching-kaos-tools-3dab40bb8dcfb2c4fffaf4ea9827114f40a1ef03.tar.gz arching-kaos-tools-3dab40bb8dcfb2c4fffaf4ea9827114f40a1ef03.tar.bz2 arching-kaos-tools-3dab40bb8dcfb2c4fffaf4ea9827114f40a1ef03.zip  | |
Settings directory properly set up during installation now
| -rwxr-xr-x | install.sh | 1 | ||||
| -rwxr-xr-x | lib/_ak_script | 2 | ||||
| -rwxr-xr-x | lib/_ak_zblock | 1 | ||||
| -rwxr-xr-x | modules/mixtapes/main.sh | 4 | 
4 files changed, 4 insertions, 4 deletions
@@ -121,6 +121,7 @@ fi  if [ ! -d $AK_CONFIGDIR ] ; then mkdir $AK_CONFIGDIR ;fi  if [ ! -d $AK_BINDIR ]; then mkdir $AK_BINDIR ;fi +if [ ! -d $AK_SETTINGS ]; then mkdir $AK_SETTINGS ;fi  if [ ! -d $AK_LIBDIR ]; then mkdir $AK_LIBDIR ;fi  if [ ! -d $AK_MODULESDIR ]; then mkdir $AK_MODULESDIR ;fi  if [ ! -d $AK_ZBLOCKDIR ]; then mkdir $AK_ZBLOCKDIR ;fi diff --git a/lib/_ak_script b/lib/_ak_script index 97013fb..81da347 100755 --- a/lib/_ak_script +++ b/lib/_ak_script @@ -35,7 +35,6 @@ _ak_help(){  }  _ak_title_description(){ -      if [ ! -n "$descriptionString" ]      then          # Choose to exit with error to enforce standard @@ -44,7 +43,6 @@ _ak_title_description(){          # Alternative solution          # full_title="$(printf '%s' "$PROGRAM")"      fi -      full_title="$(printf '%s - %s' "$PROGRAM" "$descriptionString")"      delimiter_count=`echo -n $full_title | wc -c`      ( diff --git a/lib/_ak_zblock b/lib/_ak_zblock index 17b4319..1b278a0 100755 --- a/lib/_ak_zblock +++ b/lib/_ak_zblock @@ -110,6 +110,7 @@ _ak_data_expand(){  # Returns a JSON array representing the chain retrieved.  # Logs messages to $LOGSFILE.  _ak_zblock_show(){ +    caller >&2      verify=1      if [ ! -z $1 ] && [ -n "$1" ]      then diff --git a/modules/mixtapes/main.sh b/modules/mixtapes/main.sh index 9748cd3..27616d0 100755 --- a/modules/mixtapes/main.sh +++ b/modules/mixtapes/main.sh @@ -5,8 +5,8 @@  ## Usage:  ##  ##  -a <artist> <title> <file>            Adds a file with tags artist and title -##  -h , --help -##  -s , --specs +##  -h, --help                            Prints this help message +##  -s, --specs  ##  # We can extend it by calling the _ak_zblock_pack.sh mixtape/add data ## ORIGINAL LINE  fullprogrampath="$(realpath $0)"  | 
