summaryrefslogtreecommitdiff
path: root/install/bash.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2019-11-23 12:14:56 +0200
committerEyal Posener <[email protected]>2019-11-23 12:14:56 +0200
commitddaf561db38590cb729e3ee296fa18bbd7f798e6 (patch)
tree87716e0bc205789c1c99a9f48b6521be28ed3868 /install/bash.go
parent027a352502b0d034b538296206bdebe7b084ce44 (diff)
Install: use script library
Diffstat (limited to 'install/bash.go')
-rw-r--r--install/bash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/bash.go b/install/bash.go
index 17c64de..3e85d28 100644
--- a/install/bash.go
+++ b/install/bash.go
@@ -20,7 +20,7 @@ func (b bash) Install(cmd, bin string) error {
return fmt.Errorf("already installed in %s", b.rc)
}
completeCmd := b.cmd(cmd, bin)
- return appendToFile(b.rc, completeCmd)
+ return appendFile(b.rc, completeCmd)
}
func (b bash) Uninstall(cmd, bin string) error {