-
Notifications
You must be signed in to change notification settings - Fork 3
Making the config persistent #4
Copy link
Copy link
Open
Description
Sorry for opening another issue but I ran into the following:
I execute the three steps:
$ cf files <replace_me_with_app_name> /app/fetchConfig.sh | sed -e '1,3d' > fetchConfig.sh
$ chmod +x fetchConfig.sh
$ ./fetchConfig.sh
But when executing the script it only returns:
./fetchConfig.sh: line 3: piwikstart-1021: command not found
This is what the config file looks like:
#!/bin/bash
rm ./bluezone/configtweaks/config.ini.php
cf files petschni | piwikstart-1021 /app/htdocs/piwik/config/config.ini.php | sed '/Plugins\[\] = "ExampleAPI"/d' | sed '/Plugins\[\] = "ExamplePlugin"/d' | sed '/Plugins\[\] = "ExampleRssWidget"/d' | sed '/Plugins\[\] = "Feedback"/d' > ./bluezone/configtweaks/config.ini.php
sed -i -e '1,3d' ./bluezone/configtweaks/config.ini.php
Am I missing something here or is there a bug in the script?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels