View Issue Details

IDProjectCategoryView StatusLast Update
0000499FakturamaAllgemein (General)public2016-12-28 00:59
ReportermbieblAssigned Torheydenr  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Target Version2.0.0Fixed in Version2.0.0 
Summary0000499: [FAK-500 (alt)] Problems in Debian maintainer scripts
Description

<p>The Debian fakturama.postinst contains:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
cp /usr/share/Fakturama/applications/ /usr/share/applications
mv /usr/share/Fakturama/pixmaps/
/usr/share/pixmaps
mv /usr/share/Fakturama/applications/* ~/Desktop
</pre>
</div></div>

<p>This is problematic for several reasons:</p>
<ul class="alternate" type="square">
<li>It copies files into the root home directory, this should <b>never</b> happen from within a package</li>
<li>If the /root/Desktop directory does not exist, it will create a file /root/Desktop</li>
<li>It removes files from the package list, e.g. tools like debsums will report missing files.</li>
<li>The cleanup routine in fakturama.prerm does remove those manually installed files.</li>
</ul>

<p>There is a simple and proper solution for that:<br />
Ship the files directly in the package at the correct location and remove the logic from postinst.<br />
I.e. ship<br />
/usr/share/applications/fakturama.desktop<br />
/usr/share/pixmaps/Fakturama.png</p>

TagsNo tags attached.

Activities

mbiebl

2016-01-17 16:54

viewer   ~0000548

Last edited: 2017-12-30 00:08

<p>… in fakturama.prerm does <b>not</b> remove those manually installed files</p>

rheydenr

2016-12-28 00:59

administrator   ~0000549

Last edited: 2017-12-30 00:08

<p>fixed with revision 2.0 (new install4j scripts)</p>

Issue History

Date Modified Username Field Change
2017-12-30 00:08 rheydenr New Issue
2017-12-30 00:08 rheydenr Assigned To => rheydenr
2017-12-30 00:08 rheydenr Note Added: 0000548
2017-12-30 00:08 rheydenr Note Added: 0000549