pcarmona79 / tuxguitar

This repository was uploaded from a copy of the deleted https://github.com/cyclopsian/tuxguitar
GNU Lesser General Public License v2.1
7 stars 16 forks source link

Files in deb are owned by user:user instead of root:root #3

Open helge17 opened 3 years ago

helge17 commented 3 years ago

Possible fix:

--- build-scripts/tuxguitar-linux-x86_64-deb/pom.xml.orig       2021-10-04 08:23:59.061978707 +0200
+++ build-scripts/tuxguitar-linux-x86_64-deb/pom.xml    2021-10-09 18:33:25.959248444 +0200
@@ -14,7 +14,7 @@
        <name>${project.artifactId}</name>

        <properties>
-               <project.dpkg.executable>dpkg</project.dpkg.executable>
+               <project.dpkg.executable>fakeroot</project.dpkg.executable>
                <project.rootPath>${project.parent.relativePath}</project.rootPath>
                <project.packageName>tuxguitar-${project.version}-linux-x86_64</project.packageName>
        </properties>
@@ -63,6 +63,7 @@
                                                <configuration>
                                                        <target name="package-bundle">
                                                                <exec dir="${project.basedir}" executable="${project.dpkg.executable}" failonerror="true" >
+                                                                       <arg value="dpkg"/>
                                                                        <arg value="--build"/>
                                                                        <arg value="${project.build.directory}/${project.packageName}"/>
                                                                </exec>

(same for x86 32 bit)