mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-18 14:39:09 +00:00
Add scripts to add provider to store description
Should also add before (for first provider), not only after.
This commit is contained in:
parent
81fcb923b4
commit
9282525be0
10
scripts/add-provider-description.sh
Executable file
10
scripts/add-provider-description.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
PATTERN="fastlane/metadata/*/description.txt"
|
||||
AFTER=$1
|
||||
NAME=$2
|
||||
DELIMITER="†"
|
||||
|
||||
for FILE in `ls $PATTERN`; do
|
||||
sed -E "s/${AFTER}/${AFTER}${DELIMITER}- ${NAME}/g" $FILE | tr $DELIMITER '\n' >$FILE.tmp
|
||||
mv $FILE.tmp $FILE
|
||||
done
|
Loading…
Reference in New Issue
Block a user