Created
July 2, 2014 20:01
-
-
Save zwpp/0c181d426be3f341e76e to your computer and use it in GitHub Desktop.
This file contains 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 | |
if [$# -eq 0] | |
then | |
return 1 | |
fi | |
while ["$1" != "" ] | |
do | |
mkdir -p /tmp/mikutter_update | |
git clone $1 /tmp/mikutter_update | |
#rm /tmp/mikutter_update/README.* | |
find /tmp/mikutter_update -maxdepth 1 -not -type d -and -not -name '*.rb' |xargs rm | |
cp -r /tmp/mikutter_update/* $HOME/.mikutter/plugin | |
rm -r /tmp/mikutter_update | |
shift | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment