diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/articles/main.sh (renamed from modules/ak-articles) | 15 | ||||
-rwxr-xr-x | modules/categories/main.sh (renamed from modules/ak-categories) | 0 | ||||
-rwxr-xr-x | modules/comments/main.sh (renamed from modules/ak-comments) | 0 | ||||
-rwxr-xr-x | modules/files/main.sh (renamed from modules/ak-files) | 0 | ||||
-rwxr-xr-x | modules/folders/main.sh (renamed from modules/ak-folders) | 0 | ||||
-rwxr-xr-x | modules/mixtapes/main.sh (renamed from modules/ak-mixtapes) | 0 | ||||
-rwxr-xr-x | modules/news/main.sh (renamed from modules/ak-news) | 0 | ||||
-rwxr-xr-x | modules/reference/main.sh (renamed from modules/ak-reference) | 0 | ||||
-rwxr-xr-x | modules/repositories/main.sh (renamed from modules/ak-repositories) | 0 | ||||
-rwxr-xr-x | modules/roadmap/main.sh (renamed from modules/ak-roadmap) | 0 | ||||
-rwxr-xr-x | modules/todos/main.sh (renamed from modules/ak-todos) | 0 |
11 files changed, 4 insertions, 11 deletions
diff --git a/modules/ak-articles b/modules/articles/main.sh index 97a8e8d..382466b 100755 --- a/modules/ak-articles +++ b/modules/articles/main.sh @@ -22,11 +22,6 @@ TEMP="/tmp/aktmp" if [ ! -d $ZARTICLESDIR ]; then mkdir $ZARTICLESDIR cd $ZARTICLESDIR - #git init - echo "Articles repository" > README - echo "Qmetc" >> README - #git add README - #git commit -m "Initiated articles repository" logit "INFO" "zarticlesdir created" else logit "INFO" "zarticlesdir found" @@ -51,11 +46,9 @@ _ak_modules_articles_create(){ _ak_modules_articles_add $ZARTICLESDIR/$TO_FILE logit "INFO" "Adding to git repo..." cd $ZARTICLESDIR - # git add $TO_FILE README - # git commit -m "Added $TO_FILE with $(head -n 1 $ZARTICLESDIR/$TO_FILE)" - # git clean --force rm -rf $TEMP } + _ak_modules_articles_index(){ FILES="$(ls -1 $ZARTICLESDIR)" i=0 @@ -67,9 +60,7 @@ _ak_modules_articles_index(){ let i+=1 done } -_ak_modules_articles_title(){ - description -} + _ak_modules_articles_import(){ echo "#TODO" if [ ! -z $1 ] @@ -92,6 +83,7 @@ _ak_modules_articles_import(){ fi exit 224 } + _ak_modules_articles_add(){ TEMP="$(ak-tempassin)" cd $TEMP @@ -126,6 +118,7 @@ EOF exit 1 fi } + if [ ! -z $1 ]; then case $1 in -h | --help) _ak_usage; exit;; diff --git a/modules/ak-categories b/modules/categories/main.sh index c0e1e77..c0e1e77 100755 --- a/modules/ak-categories +++ b/modules/categories/main.sh diff --git a/modules/ak-comments b/modules/comments/main.sh index 6193e2f..6193e2f 100755 --- a/modules/ak-comments +++ b/modules/comments/main.sh diff --git a/modules/ak-files b/modules/files/main.sh index 73c8219..73c8219 100755 --- a/modules/ak-files +++ b/modules/files/main.sh diff --git a/modules/ak-folders b/modules/folders/main.sh index 5aa82c7..5aa82c7 100755 --- a/modules/ak-folders +++ b/modules/folders/main.sh diff --git a/modules/ak-mixtapes b/modules/mixtapes/main.sh index 712bb54..712bb54 100755 --- a/modules/ak-mixtapes +++ b/modules/mixtapes/main.sh diff --git a/modules/ak-news b/modules/news/main.sh index b015bd6..b015bd6 100755 --- a/modules/ak-news +++ b/modules/news/main.sh diff --git a/modules/ak-reference b/modules/reference/main.sh index 157b797..157b797 100755 --- a/modules/ak-reference +++ b/modules/reference/main.sh diff --git a/modules/ak-repositories b/modules/repositories/main.sh index ffda701..ffda701 100755 --- a/modules/ak-repositories +++ b/modules/repositories/main.sh diff --git a/modules/ak-roadmap b/modules/roadmap/main.sh index a30894a..a30894a 100755 --- a/modules/ak-roadmap +++ b/modules/roadmap/main.sh diff --git a/modules/ak-todos b/modules/todos/main.sh index afe56f8..afe56f8 100755 --- a/modules/ak-todos +++ b/modules/todos/main.sh |