diff --git a/intellij-idea-ultimate_2021.2.2/debian/postinst b/intellij-idea-ultimate_2021.2.2/debian/postinst index bdc49f1..f342a45 100644 --- a/intellij-idea-ultimate_2021.2.2/debian/postinst +++ b/intellij-idea-ultimate_2021.2.2/debian/postinst @@ -5,17 +5,17 @@ set -e cd /opt/ ## Extract the package -sudo tar xf /opt/ideaIU-2021.2.2.tar.gz +tar xf /opt/ideaIU-2021.2.2.tar.gz ## Rename the directory -sudo mv /opt/idea-IU-* /opt/intellij-idea-ultimate +mv /opt/idea-IU-* /opt/intellij-idea-ultimate ## Remove the tar.gz package -sudo rm /opt/ideaIU-2021.2.2.tar.gz +rm /opt/ideaIU-2021.2.2.tar.gz ## Install the .desktop file, if necessary if [ -x "/usr/bin/desktop-file-install" ]; then - sudo desktop-file-install /usr/share/applications/intellij-idea-ultimate.desktop + desktop-file-install /usr/share/applications/intellij-idea-ultimate.desktop fi ##DEBHELPER## diff --git a/intellij-idea-ultimate_2021.2.2/debian/postrm b/intellij-idea-ultimate_2021.2.2/debian/postrm index e410691..ce81075 100644 --- a/intellij-idea-ultimate_2021.2.2/debian/postrm +++ b/intellij-idea-ultimate_2021.2.2/debian/postrm @@ -3,6 +3,6 @@ set -e ## Remove the program folder -sudo rm -rf /opt/intellij-idea-ultimate +rm -rf /opt/intellij-idea-ultimate ##DEBHELPER##