improve update-readability script
This commit is contained in:
parent
d346497c3d
commit
0414ffcf86
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
rm -rfv readability
|
||||
git clone https://github.com/mozilla/readability.git
|
||||
rm -rfv readability/.git
|
||||
git add readability
|
||||
git commit -m "Update readability from github"
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh -e
|
||||
if [ -d readability ]; then
|
||||
cd readability
|
||||
git pull
|
||||
else
|
||||
git clone https://github.com/mozilla/readability
|
||||
fi
|
Loading…
Reference in New Issue