improve update-readability script

This commit is contained in:
Paper 2020-01-19 12:30:48 +01:00
parent d346497c3d
commit 0414ffcf86
2 changed files with 7 additions and 6 deletions

View File

@ -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"

7
update-readability.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh -e
if [ -d readability ]; then
cd readability
git pull
else
git clone https://github.com/mozilla/readability
fi