mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
42 lines
857 B
Text
42 lines
857 B
Text
# LogMeIn-Hamachi: Installer: Arch
|
|
# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
|
|
|
|
# arg 1: the new package version
|
|
post_install() {
|
|
/etc/rc.d/logmein-hamachi start
|
|
|
|
echo "To automatically start the LogMeIn Hamachi service when your system boots, add 'logmein-hamachi' to the DAEMONS array of your '/etc/rc.conf'."
|
|
echo "To allow a standard user to control LogMeIn Hamachi, add 'Ipc.User <login name>' to '/var/lib/logmein-hamachi/h2-engine-override.cfg' and restart the service."
|
|
}
|
|
|
|
# arg 1: the new package version
|
|
# arg 2: the old package version
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
pre_remove() {
|
|
/etc/rc.d/logmein-hamachi stop
|
|
#/bin/true
|
|
}
|
|
|
|
user_remove() {
|
|
#if [ -n ${SUDO_USER} ]
|
|
#then
|
|
#ifndef HOME
|
|
#HOME = ~$(USER)
|
|
# export HOME=/home/${USER}
|
|
#endif
|
|
#fi
|
|
|
|
/bin/true
|
|
}
|
|
|
|
post_remove() {
|
|
/bin/true
|
|
}
|
|
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|