summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManoel Vilela2017-10-11 23:49:11 -0300
committerManoel Vilela2017-10-11 23:49:11 -0300
commite9711222ecb189e0d28aa2ebc59dce4064fbd7a5 (patch)
tree3f7586e9d137e851993425e17e1667d28fd90604
parent06373e41e4b49c0f142ccc030642bc1088f26e8c (diff)
downloadaur-e9711222ecb189e0d28aa2ebc59dce4064fbd7a5.tar.gz
Fix format on emacs-openrc.install
-rw-r--r--emacs-openrc.install24
1 files changed, 12 insertions, 12 deletions
diff --git a/emacs-openrc.install b/emacs-openrc.install
index 9aff843835e..2c25d73e50e 100644
--- a/emacs-openrc.install
+++ b/emacs-openrc.install
@@ -6,24 +6,24 @@ EMACS_DAEMON_USER_PATH=$EMACS_DAEMON_PATH.$SUDO_USER
VARS_EXPORTED="SHELL\|^USER=\|HOME\|LANG"
post_install() {
- sudo ln -v -s -f $EMACS_DAEMON_PATH $EMACS_DAEMON_USER_PATH
- echo ":: Installed daemon for $SUDO_USER."
+ sudo ln -v -s -f $EMACS_DAEMON_PATH $EMACS_DAEMON_USER_PATH
+ echo ":: Installed daemon for $SUDO_USER."
- echo ":: Getting useful vars from $SUDO_USER."
- sudo -u $SUDO_USER env | grep $VARS_EXPORTED | sed "s/^/export /" | sudo tee $DEFAULT_CONF_PATH
- echo ":: Wrote default conf on $DEFAULT_CONF_PATH"
+ echo ":: Getting useful vars from $SUDO_USER."
+ sudo -u $SUDO_USER env | grep $VARS_EXPORTED | sed "s/^/export /" | sudo tee $DEFAULT_CONF_PATH
+ echo ":: Wrote default conf on $DEFAULT_CONF_PATH"
- echo ":: Add init script on openrc."
- sudo rc-update add $SERVICE_NAME_USER
+ echo ":: Add init script on openrc."
+ sudo rc-update add $SERVICE_NAME_USER
}
post_upgrade() {
- echo ":: We got a new version of emacs-openrc!"
+ echo ":: We got a new version of emacs-openrc!"
}
post_remove() {
- echo ":: Remove init script from openrc"
- sudo rc-update del $SERVICE_NAME_USER
- echo ":: Remove garbage files"
- rm -fv $EMACS_DAEMON_USER_PATH $DEFAULT_CONF_PATH
+ echo ":: Remove init script from openrc"
+ sudo rc-update del $SERVICE_NAME_USER
+ echo ":: Remove garbage files"
+ rm -fv $EMACS_DAEMON_USER_PATH $DEFAULT_CONF_PATH
}