From d28bb5a93df53d970409f849d4928f9ca2aad610 Mon Sep 17 00:00:00 2001 From: Rafid Bin Mostofa Date: Sun, 18 Feb 2024 03:24:22 +0600 Subject: [PATCH] feat(update): bump pycharm version to 2023.3.3 --- scripts/pycharm_community.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/pycharm_community.sh b/scripts/pycharm_community.sh index 6aa695e..861f74f 100755 --- a/scripts/pycharm_community.sh +++ b/scripts/pycharm_community.sh @@ -2,26 +2,26 @@ set -eux -PYCHARM_VERSION="2023.1.4" +PYCHARM_VERSION="2023.3.3" PYCHARM_NAME="pycharm-community-${PYCHARM_VERSION}" echo "\nInstall Pycharm Community $PYCHARM_VERSION ..\n" # download pycharm community edition # wget "data.services.jetbrains.com/products/download?code=PCC&platform=linux" -O pycharm.tar.gz -wget -c "https://download.jetbrains.com/python/pycharm-community-${PYCHARM_VERSION}.tar.gz" +wget -c "https://download.jetbrains.com/python/${PYCHARM_NAME}.tar.gz" # download sha256sum file and verify the checksum -wget "https://download.jetbrains.com/python/pycharm-community-${PYCHARM_VERSION}.tar.gz.sha256" -O expected_sha256sum.txt -sha256sum pycharm-community-${PYCHARM_VERSION}.tar.gz >> actual_sha256sum.txt +wget "https://download.jetbrains.com/python/${PYCHARM_NAME}.tar.gz.sha256" -O expected_sha256sum.txt +sha256sum ${PYCHARM_NAME}.tar.gz >> actual_sha256sum.txt cat actual_sha256sum.txt | sha256sum -c expected_sha256sum.txt # extract and keep the files in /opt -tar -zxvf "pycharm-community-${PYCHARM_VERSION}.tar.gz" -mv "pycharm-community-${PYCHARM_VERSION}" /opt +tar -zxvf "${PYCHARM_NAME}.tar.gz" +mv "${PYCHARM_NAME}" /opt # remove tar and hash files -rm "pycharm-community-${PYCHARM_VERSION}.tar.gz" actual_sha256sum.txt expected_sha256sum.txt +rm "${PYCHARM_NAME}.tar.gz" actual_sha256sum.txt expected_sha256sum.txt # populate desktop entry cat > jetbrains-pycharm-ce.desktop << EOF