summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortydell2018-03-19 17:36:36 +0100
committertydell2018-03-19 17:36:36 +0100
commit0fb1f910ccfe7ab84958a75ad92bc0af9ec9c23e (patch)
tree0b6c01e0e6143e236c925d22573c3187ebac6c53
parent1f4d4a92565972fad7cf60c25008b2cfe65183e6 (diff)
downloadaur-0fb1f910ccfe7ab84958a75ad92bc0af9ec9c23e.tar.gz
Corrected .install file
-rwxr-xr-xclickable.install14
1 files changed, 7 insertions, 7 deletions
diff --git a/clickable.install b/clickable.install
index 540be158f91..f48de6e23f2 100755
--- a/clickable.install
+++ b/clickable.install
@@ -1,8 +1,8 @@
post_install() {
echo "Add clickable to PATH"
- echo "export PATH=\$PATH:\/opt/clickable" >> /$HOME/.$(echo ${SHELL##*/})rc
- source /$HOME/.$(echo ${SHELL##*/})rc
+ echo "export PATH=\$PATH:\/opt/clickable" >> /home/$USER/.$(echo ${SHELL##*/})rc
+ source /home/$USER/.$(echo ${SHELL##*/})rc
echo "Configure docker for clickable"
clickable setup-docker
@@ -10,16 +10,16 @@ post_install() {
post_upgrade() {
- sed -n -i '/clickable/!p' /$HOME/.$(echo ${SHELL##*/})rc
- echo "export PATH=\$PATH:\/opt/clickable" >> /$HOME/.$(echo ${SHELL##*/})rc
- source /$HOME/.$(echo ${SHELL##*/})rc
+ sed -n -i '/clickable/!p' /home/$USER/.$(echo ${SHELL##*/})rc
+ echo "export PATH=\$PATH:\/opt/clickable" >> /home/$USER/.$(echo ${SHELL##*/})rc
+ source /home/$USER/.$(echo ${SHELL##*/})rc
}
post_remove() {
- sed -n -i '/clickable/!p' /$HOME/.$(echo ${SHELL##*/})rc
- source /$HOME/.$(echo ${SHELL##*/})rc
+ sed -n -i '/clickable/!p' /home/$USER/.$(echo ${SHELL##*/})rc
+ source /home/$USER/.$(echo ${SHELL##*/})rc
}