diff --git a/install/papirus b/install/papirus index f50db0c..4379784 100755 --- a/install/papirus +++ b/install/papirus @@ -22,9 +22,9 @@ else fi mkdir -p "${HOME}/.local/share/icons/" -ln -s "${HOME}/install/papirus-icon-theme/Papirus" "${HOME}/.local/share/icons/Papirus" -ln -s "${HOME}/install/papirus-icon-theme/Papirus-Dark" "${HOME}/.local/share/icons/Papirus-Dark" -ln -s "${HOME}/install/papirus-icon-theme/Papirus-Light" "${HOME}/.local/share/icons/Papirus-Light" +ln -sf "${HOME}/install/papirus-icon-theme/Papirus" "${HOME}/.local/share/icons/Papirus" +ln -sf "${HOME}/install/papirus-icon-theme/Papirus-Dark" "${HOME}/.local/share/icons/Papirus-Dark" +ln -sf "${HOME}/install/papirus-icon-theme/Papirus-Light" "${HOME}/.local/share/icons/Papirus-Light" echo echo "Finish! Don't forget to change current icon theme." diff --git a/install/postman b/install/postman index 1d51d52..2f16a69 100755 --- a/install/postman +++ b/install/postman @@ -11,7 +11,7 @@ mkdir -p ${HOME}/install/postman mkdir -p ${HOME}/.local/bin wget "https://dl.pstmn.io/download/latest/linux64" -O ${HOME}/install/postman.tar.gz && \ tar -xzf ${HOME}/install/postman.tar.gz -C ${HOME}/install/postman && \ - ln -s ${HOME}/install/postman/Postman/Postman ${HOME}/.local/bin/postman && \ + ln -sf ${HOME}/install/postman/Postman/Postman ${HOME}/.local/bin/postman && \ mkdir -p "${HOME}/.local/share/applications" && \ cat << EOF > "${HOME}/.local/share/applications/Postman.desktop" #!/usr/bin/env xdg-open diff --git a/install/syncthing b/install/syncthing index a9d81b4..514403f 100755 --- a/install/syncthing +++ b/install/syncthing @@ -24,5 +24,5 @@ sudo apt install -y --autoremove syncthing wget "https://raw.githubusercontent.com/syncthing/syncthing/main/etc/linux-desktop/syncthing-start.desktop" -O $HOME/.local/share/applications/syncthing-start.desktop wget "https://raw.githubusercontent.com/syncthing/syncthing/main/etc/linux-desktop/syncthing-ui.desktop" -O $HOME/.local/share/applications/syncthing-ui.desktop -ln -s $HOME/.local/share/applications/syncthing-start.desktop $HOME/.config/autostart/syncthing-start.desktop +ln -sf $HOME/.local/share/applications/syncthing-start.desktop $HOME/.config/autostart/syncthing-start.desktop # или демоном: https://habr.com/ru/post/350892/