socratools / socranop

Soundcraft Notepad mixer tools for Linux
MIT License
8 stars 2 forks source link

installtool: Help package builder remove installtool related files #65

Closed ndim closed 8 months ago

ndim commented 1 year ago

When creating an OS package (rpm, deb, AUR, etc.), copying and remove files is done by the OS package manager (rpm/dnf, dpkg/apt, etc). socranop-installtool only helps at package build time, by creating and writing files to the package chroot.

So socranop-installtool is not needed after package build time, and the OS package does not need to ship socranop-installtool or its data files at all.

socranop-installtool should help the OS package remove itself (and the data/ source files) from the package chroot.

See also https://github.com/socratools/socranop/issues/63

ndim commented 1 year ago

I have integrated the deletion into the new socranop-installtool package-build-install command.

socranop-installtool package-build-install always deletes the installtool related files. There is no command line argument to enable or disable deleting the installation related files.