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