Bash package manager for purplOS
Your .tar for the /anki folder should be formatted as such
I will use anki-purplOS.tar as an example
anki-purplOS.tar
- anki/
- bin
- data
- etc
- lib
anki-purplOS.tar is then compressed with gzip to become anki-purplOS.tar.gz
The package manager expects this exact format, so if your structure differs it will not install correctly.
The way the package manager installs packages is by downloading the tar.gz, uncompressing it then making its own directory for the actual package in /data/purplpkg.
Package structure should be as such
I will use update-purplOS.tar as an example
update-purplOS.tar
- update.sh
update.sh being the file that goes into /sbin.
- Version checking for packages
- Start a public FTP server for all to upload packages
- Make it good idk