blob: a11fe1135421ba60370e46f447a88d5ffcd2cc1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
post_install() {
if [ -z $SUDO_USER ]; then
if [ $SUDO_USER=root ]; then
echo "/usr/local/hhirf/upak/doc" > \/root/upak_help_path
else
cat <<EOF
>>> please create a file in your home directory named 'upak_help_path' containing
>>> /usr/local/hhirf/upak/doc
EOF
fi
else
echo "/usr/local/hhirf/upak/doc" > \/home/${SUDO_USER}/upak_help_path
fi
}
|