Skip to content

Commit 312064a

Browse files
committed
Update GenerateRpm.java
1 parent 4347b68 commit 312064a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/github/fvarrui/javapackager/maven/GenerateRpm.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ protected File doApply(Packager packager) throws Exception {
114114
element("directory", "/usr/share/applications"),
115115
element("sources",
116116
element("source",
117-
element("location", desktopFile.getName())
117+
element("location", desktopFile.getAbsolutePath())
118118
)
119119
)
120120
)
@@ -127,7 +127,7 @@ protected File doApply(Packager packager) throws Exception {
127127
element("directory", "/usr/share/mime/applications"),
128128
element("sources",
129129
element("source",
130-
element("location", mimeXmlFile.getName())
130+
element("location", mimeXmlFile.getAbsolutePath())
131131
)
132132
)
133133
)

0 commit comments

Comments
 (0)