mirror of
https://github.com/danog/yayponies-ipfs.git
synced 2024-11-29 20:09:11 +01:00
Final fix
This commit is contained in:
parent
edbdd11c0d
commit
0f19072662
@ -6,9 +6,9 @@ git reset --hard
|
||||
git pull origin master
|
||||
|
||||
for f in $(find . -type f -name '*.php'); do
|
||||
curl "$2/$f" -so "$f"
|
||||
mv "$f" "${f/php/html}"
|
||||
curl "$2/$f" -so "${f/php/html}"
|
||||
done
|
||||
find . -type f -name '*.php' -exec rm {} +
|
||||
find . -type f -exec sed 's/\.php/\.html/g' -i {} +
|
||||
|
||||
cd ..
|
||||
|
Loading…
Reference in New Issue
Block a user