From fc7ff9613ae83fb5d3beb02a01366096023a4e06 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Thu, 29 Sep 2022 13:22:04 +0800 Subject: [PATCH] papirus fixes --- install/papirus | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/install/papirus b/install/papirus index 680283c..f50db0c 100755 --- a/install/papirus +++ b/install/papirus @@ -12,18 +12,19 @@ installed() { } if installed git; then - mkdir ${HOME}/install/ - git clone https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git --depth=1 ${HOME}/install/papirus-icon-theme + mkdir -p "${HOME}/install/" + git clone https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git --depth=1 "${HOME}/install/papirus-icon-theme" else ! installed wget && sudo apt install -y wget - mkdir ${HOME}/install/papirus-icon-theme - wget https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/refs/heads/master.zip -O ${HOME}/install/papirus-icon-theme.zip - unzip ${HOME}/install/papirus-icon-theme.zip -d ${HOME}/install/papirus-icon-theme + mkdir -p "${HOME}/install/papirus-icon-theme" + wget https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/refs/heads/master.zip -O "${HOME}/install/papirus-icon-theme.zip" + unzip "${HOME}/install/papirus-icon-theme.zip" -d "${HOME}/install/papirus-icon-theme" fi -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 +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" echo echo "Finish! Don't forget to change current icon theme."