| how to run a cmd in a xml-file as normal user?|
I need to run a cmd in a xml as normal user. How to do that using upkg-build?
|Code||[In neuem Fenster öffnen]|
<description>Thunar archive plugin</description>
<release version="0.2494" revision="1" branch="testing">
<cmd>sh autogen.sh --prefix=/usr</cmd>
<cmd>make -j 2</cmd>
<!-- run the next command as normal user -->
Ctrl-D will switch to normal user mode but how to do it during a upkg-build-session?
| Re: how to run a cmd in a xml-file as normal user?|
You can run commands as a different user with sudo but package build/installation commands should never affect the home directory of a non-system user. Applications which need per-user initialization must do that automatically on first startup or something like that.