Loading
fix(packaging)!: mark parent directories part of rpm package and handle bytecode cache
This MR fixes the ownership of all files in the rpm package.
- Ensures that all parent directories in
/opt/orangeqs/juicebelong to the package such that they will be removed on uninstall. - Handles the generation and removal of cached bytecode in
__pycache__folders to ensure they won't be left behind on upgrade/uninstall.
This commit requires a manual upgrade step for the system package from releases prior to this commit!
- Remove the old version using
sudo dnf remove orangeqs-juice-core - Remove the
/opt/orangeqs/juicedirectory usingsudo rm -rf /opt/orangeqs/juice - Install the new version as normal, e.g.
sudo dnf install $(juice-download-latest)
Closes #171 (closed)