Link scripts to /usr/bin instead of ~/.local/bin
This commit is contained in:
parent
904b07ed0d
commit
19134b1b1e
@ -585,7 +585,7 @@ ln -s ${DOTFILES_SOURCE_DIR}/applications/* ${HOME}/.local/share/applications
|
||||
|
||||
# Link scripts
|
||||
mkdir -p ${HOME}/.local/bin
|
||||
ln -s ${DOTFILES_SOURCE_DIR}/bin/* ${HOME}/.local/bin
|
||||
sudo ln -s ${DOTFILES_SOURCE_DIR}/bin/* /usr/bin
|
||||
|
||||
# Copy configuration files
|
||||
mkdir -p ${HOME}/.config
|
||||
@ -593,11 +593,10 @@ cp -r ${DOTFILES_SOURCE_DIR}/config/* ${HOME}/.config/
|
||||
|
||||
# (OPTIONAL) Remove unneeded files, depending on features selected
|
||||
if [[ "${detected_features[@]}" != *'Touchpad'* ]]; then
|
||||
rm ${HOME}/.local/bin/gnome-toggle-touchpad-lock
|
||||
sudo rm /usr/bin/gnome-toggle-touchpad-lock
|
||||
fi
|
||||
if [[ "${detected_features[@]}" != *'Windows'* ]]; then
|
||||
rm ${HOME}/.local/share/applications/windows.desktop
|
||||
rm ${HOME}/.local/bin/reboot-windows
|
||||
sudo rm /usr/bin/reboot-windows
|
||||
fi
|
||||
|
||||
########################################
|
||||
|
Loading…
Reference in New Issue
Block a user