source: code/trunk/kanakomenu@ 9

Last change on this file since 9 was 9, checked in by koizumi.aoi, 3 years ago

Add kanakomenu and kanakototp addons, etc.

Signed-off-by: Aoi K <koizumi.aoi@…>

  • Property svn:executable set to on
File size: 467 bytes
Line 
1#!/bin/sh -e
2readonly conf_dir="${conf_dir:-$HOME/.config/kanako}"
3readonly store_dir="${store_dir:-$HOME/.kanako-store}"
4
5if test -f "${conf_dir}"/kanakomenu.conf; then
6 . "${conf_dir}"/kanakomenu.conf
7else
8 echo "Configuration file has not been found!"
9 echo "Copy kanakomenu.conf from the examples directory,"
10 echo "and edit accordingly"
11 exit 1
12fi
13
14find . -name '*.enc' | sort | sed 's,^\./,,;s,\.enc$,,' | ${menu_prog} | xargs $(which kanako) -c
Note: See TracBrowser for help on using the repository browser.