Upstream release 2017.1.1
- Addressing T214: Downloading over HTTP - Addressing T230: Not checking for existing archives
This commit is contained in:
parent
4d99e2a168
commit
04b1bb4312
25 changed files with 96 additions and 96 deletions
|
@ -1,27 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
cd /opt/
|
||||
|
||||
## Extract the package
|
||||
sudo tar xf /opt/ideaIC-*
|
||||
|
||||
## Rename the directory
|
||||
sudo mv /opt/idea-IC-* /opt/intellij-idea-community
|
||||
|
||||
## Remove the tar.gz package
|
||||
sudo rm /opt/ideaIC-*
|
||||
|
||||
## Install the .desktop file, if necessary
|
||||
if [ -x "/usr/bin/desktop-file-install" ]; then
|
||||
sudo desktop-file-install /usr/share/applications/intellij-idea-community.desktop
|
||||
fi
|
||||
|
||||
## Switch to new repository, if necessary
|
||||
oldrepo="mmk2410\/intellij-idea-community"
|
||||
newrepo="mmk2410\/intellij-idea"
|
||||
grep -rl "$oldrepo" /etc/apt/sources.list | xargs -r sed -i "s/$oldrepo/$newrepo/g"
|
||||
grep -rl "$oldrepo" /etc/apt/sources.list.d/ | xargs -r sed -i "s/$oldrepo/$newrepo/g"
|
||||
|
||||
##DEBHELPER##
|
Loading…
Add table
Add a link
Reference in a new issue