blob: 144b98150659f044d60486fffa408e4776320a8a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
ask_noyes()
{
local key
echo -n "$1 [y/N]: "
read key
case "$key" in
[Yy]*)
return 0;;
*)
return 1;;
esac
}
echo "This script will setup current directory for wikicalc."
if ask_noyes "Are you ready?"; then
ln -s -f %%DATADIR%%/* .
echo "done."
else
echo "Stopped."
exit 1
fi
|