footer cc by und Förderkennzeichen #183

Merged
sicking merged 9 commits from footer-cc-by-Foerderkennzeichen into main 2025-01-27 15:31:22 +00:00
Showing only changes of commit fcd044f242 - Show all commits

17
sb/scripts/url-prod-to-int.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
set -e
# script im root dir ausführen
working_directory=$(basename $(pwd))
if [ "$working_directory" != "FOERBICO" ]; then
echo "not in root dir 'FOERBICO'"
exit 1
fi
find sb/public -type f | while read FILE ;
do
sed -i -s -E 's|http://oer.community/|http://int.oer.community/|g' "$FILE"
sed -i -s -E 's|https://oer.community/|https://int.oer.community/|g' "$FILE"
#sed -i -s -E 's|https://oer.community/|https://xxx.oer.community/|g' "$FILE"
done
#TODO / FIXME: Basis-Ordner dynamsich; als Parameter