fix(projectsend) fix projectsend config path. (#12897)

**Description**
the config file needs to exists here
`/app/www/public/includes/sys.config.php` the app will move the file to
the correct place.
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [X] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
I tested locally by creating a empty file and deleting it, the file
would be copied over to the correct path after and the app wouldnt ask
for the db info when creating the file.

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Xstar97TheNoob 2023-09-24 07:10:48 -04:00 committed by GitHub
parent f9021e1bbd
commit 64651dcbd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/projectsend
- https://github.com/projectsend/projectsend
type: application
version: 8.0.8
version: 8.0.9
annotations:
truecharts.org/catagories: |
- files

View File

@ -43,7 +43,7 @@ workload:
- -c
args:
- |-
export configFile="/config/projectsend/includes/sys.config.php";
export configFile="/app/www/public/includes/sys.config.php";
if [ ! -f $configFile ];
then
echo "Creating initial config file...";