sh 在Ubuntu linux上更新phpstorm。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 在Ubuntu linux上更新phpstorm。相关的知识,希望对你有一定的参考价值。

#!/bin/bash -e
# IMPORTANT. My phpstom installation exists on /opt/phpstorm.
# IMPORTANT. Run with sudo!
# Early Access program: https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program

echo -n "Please enter the PhpStorm download url (eg http://download.jetbrains.com/webide/PhpStorm-EAP-141.690.tar.gz): "
read url
 
# Download file from url
echo "Downloading PhpStorm to ~/Desktop"
cd ~/Desktop
wget ${url} --no-check-certificate
tar -xzf ~/Desktop/PhpStorm*
rm ~/Desktop/PhpStorm*

# Remove old Phpstorm
echo "Removing old PhpStorm"
rm -rf /opt/phpstorm

# Copy new Phpstorm
echo "Copying new PhpStorm"
mv ~/Desktop/PhpStorm* /opt/phpstorm

# Finish
echo "New PhpStorm has been installed!"

以上是关于sh 在Ubuntu linux上更新phpstorm。的主要内容,如果未能解决你的问题,请参考以下文章

sh 在Ubuntu 14.04上更新curl

sh 在Ubuntu 14.04上更新curl

sh 在Ubuntu 14.04上更新curl

sh 在Ubuntu 14.04上更新curl

sh 在Ubuntu 14.04上更新curl

sh 在Ubuntu 14.04上更新curl