diff options
Diffstat (limited to 'bin/ak-news')
-rwxr-xr-x | bin/ak-news | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/bin/ak-news b/bin/ak-news index 5ccc3a9..5dbc847 100755 --- a/bin/ak-news +++ b/bin/ak-news @@ -6,6 +6,7 @@ ZNEWSDIR="$AK_WORKDIR/news" TEMP="/tmp/aktmp" source $AK_LIBDIR/_ak_logit +source $AK_LIBDIR/_ak_script_description if [ ! -d $ZNEWSDIR ]; then mkdir $ZNEWSDIR @@ -60,24 +61,7 @@ _ak_modules_news_index(){ rm temp } -new_line(){ - printf '\n' -} - -description(){ - full_title="$(printf '%s - %s' "$PROGRAM" "$descriptionString")" - delimiter_count=`echo -n $full_title | wc -c` - printf '%s' "$full_title" - new_line - while [ $delimiter_count -gt 0 ] - do - printf '=' - delimiter_count=$(($delimiter_count-1)) - done - new_line -} _ak_modules_news_title(){ -# echo $PROGRAM description } |