Created
November 8, 2012 06:01
-
-
Save Moligaloo/4037105 to your computer and use it in GitHub Desktop.
Download latest online deb file of Baidu input method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script is used to get the online version's deb in the current folder | |
host="mi.baidu.com" | |
filename=$(curl --silent "$host/Packages" | grep --only-matching 'debs/baidu_input.*deb') | |
echo "I'm going to download $host/$filename" | |
wget "$host/$filename" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment