Update file run_onchange_after_3-system-bin.tmpl
This commit is contained in:
parent
0c55b948f0
commit
255e37e15d
1 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
{{- if (eq .host.distro.family "linux") -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
### Copy ~/.local/bin/squash-symlink to /usr/local/bin/squash-symlink
|
||||
if [ ! -f /usr/local/bin/squash-symlink ] && [ -f "$HOME/.local/bin/squash-symlink" ]; then
|
||||
logg info 'Copying ~/.local/bin/squash-symlink to /usr/local/bin/squash-symlink'
|
||||
sudo cp -f "$HOME/.local/bin/squash-symlink" /usr/local/bin/squash-symlink
|
||||
fi
|
||||
|
||||
{{ end -}}
|
Loading…
Reference in a new issue