diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2023-09-18 15:58:31 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2023-09-18 15:58:31 +0200 |
| commit | 4bb5caa01bfe432cbd1e8d85622482695eccb322 (patch) | |
| tree | b78a56d4c56dcf9aa03f10e6c3e4d8a97b7ec1dc /install.sh | |
| parent | f05a7d866bb39f82988f5cc63bee9d86626e03bb (diff) | |
| download | dotfiles-4bb5caa01bfe432cbd1e8d85622482695eccb322.tar.gz dotfiles-4bb5caa01bfe432cbd1e8d85622482695eccb322.zip | |
Added binaries to be globally installed
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -46,6 +46,15 @@ for file in $(find "$(pwd)" -mindepth 1 -maxdepth 1 ! \( $ignore \)); do done ## +# Some binaries are good to be installed globally. + +for i in bin/zypper-* e; do + if [ ! -f "/usr/bin/$(basename $i)" ]; then + sudo ln -s "$(readlink -f $i)" "/usr/bin/$(basename $i)" + fi +done + +## # And now let's go for the exceptional cases. # Link the global.gitignore file |
