libportal: header removal should be done as root

This commit is contained in:
Pierre Labastie 2022-03-24 15:05:15 +01:00
parent 9a6f0ab378
commit 77e8024def

View File

@ -101,9 +101,10 @@
<para>
If a previous version of libportal is installed, move the
headers out of the way so that later packages do not encounter
conflicts:
conflicts (as the <systemitem role="username">root</systemitem>
user):
</para>
<screen><userinput>if [ -e /usr/include/libportal ]; then
<screen role="root"><userinput>if [ -e /usr/include/libportal ]; then
rm -rf /usr/include/libportal.old &amp;&amp;
mv -vf /usr/include/libportal{,.old}
fi</userinput></screen>