mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
8093fcc11c
Hyper NIKKI System, a CGI system for Electric Diary Interchange PR: 14855 Submitted by: HOTARU-YA <hotaru@tail.net>
17 lines
339 B
Bash
17 lines
339 B
Bash
#!/bin/sh
|
|
YN=N
|
|
cd @PREFIX@/share/hns
|
|
( echo "$LANG" | /usr/bin/grep -q '^ja' ) && YN=Y
|
|
[ "$1" = "ja" ] && YN=Y
|
|
if [ "$YN" = "N" ]; then
|
|
echo -n "Japanese message OK? [y/N]: "
|
|
read YN
|
|
[ -n "$YN" ] || YN=N
|
|
fi
|
|
[ "$1" = "en" ] && YN=N
|
|
if [ "$YN" = "Y" -o "$YN" = "y" ]; then
|
|
exec ./hns-setup.ja
|
|
else
|
|
exec ./hns-setup.en
|
|
fi
|