I would like to make a postinstall script, to avoid having to add/change a number of things after a fresh install.
First thing is to install a number of packages that are listed in a text file.
pamac upgrade -a
pamac install < packagestoinstall
But this does not work, so how can I make pamac read the packages to install from a text file ?
A few packages come from aur, will they be installed in this way, or do I need to add something to tell pamac to also install from aur ?
After having installed brother-mfc-9970cdw and brscan5 from aur,
I would like to set the IP address for my Brother printer/scanner
via this script.
Any ideas on how to do this ?