mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-06 14:13:11 +07:00
Improve the file importer (#415)
Improve the bulk importer (tags by filename, document language, Docker container)
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/ash
|
||||
file=/root/.config/preferences/com.sismics.docs.importer.pref
|
||||
sed -i "s/env1/$TEEDY_TAG/g" $file
|
||||
sed -i "s/env2/$TEEDY_ADDTAGS/g" $file
|
||||
sed -i "s/env3/$TEEDY_LANG/g" $file
|
||||
sed -i "s,env4,$TEEDY_URL,g" $file
|
||||
sed -i "s/env5/$TEEDY_USERNAME/g" $file
|
||||
sed -i "s/env6/$TEEDY_PASSWORD/g" $file
|
||||
echo "Environment variables replaced"
|
||||
Reference in New Issue
Block a user