Answer the question
In order to leave comments, you need to log in
Is it possible to bind custom scripts to a package in Pacman?
There is an Antegros installation.
A fairly typical situation is configuring installed applications, including creating links to executable files in /usr/bin/
Example: I use php56 to make composer work, I had to create a dynamic link /usr/bin/php56 -> /usr/bin/ php.
Over time, there may be more and more such links and other manually created files. And you can't keep them all in your head.
Can I create a bash script for my actions and link it to the package so that when the package is removed, the manually created files are also deleted? Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question