feat: Moved certain things

This commit is contained in:
Kevin Alavik 2025-04-10 19:24:37 +02:00
parent 62bb7a7694
commit dc6f560b8a
Signed by: Kevin Alavik
GPG key ID: DE005E6364A5F627
4 changed files with 13 additions and 8 deletions

View file

@ -4,4 +4,4 @@ Minimal package manager.
## Developing
If you are working with piratpkg make sure to change `ROOT` in `piratpkg.conf` to your needs, and change `DEFAULT_CONFIG_FILE` in `include/piratpkg.h` to the path of your config file. Or pass the `--config` argument to `piratpkg`
figure it out ig

View file

@ -20,7 +20,7 @@
#ifndef _DEV
#define DEFAULT_CONFIG_FILE "/etc/piratpkg/piratpkg.conf"
#else
#define DEFAULT_CONFIG_FILE "piratpkg.conf"
#define DEFAULT_CONFIG_FILE "piratpkg.conf.test"
#endif /* _DEV */
#define VERSION_STRING "piratpkg 1.0.0-alpha"

View file

@ -1,8 +1,5 @@
ROOT=/home/kevin/Projects/piratpkg/test
ROOT=/
REPO_BRANCHES=core testing
DEFAULT_BRANCH=core
# Branches
CORE=repo/core/
TESTING=repo/testing/
CORE=/etc/piratpkg/repo/core/
TESTING=/etc/piratpkg/repo/testing/

8
piratpkg.conf.test Normal file
View file

@ -0,0 +1,8 @@
ROOT=/home/kevin/Projects/piratpkg/test
REPO_BRANCHES=core testing
DEFAULT_BRANCH=core
# Branches
CORE=repo/core/
TESTING=repo/testing/