Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Fix #4285 lcdproc package is PBI-ignorant #795

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/lcdproc/lcdproc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,9 @@ EOD;
conf_mount_rw();
lcdproc_write_script(LCDPROC_CLIENT, $client_script);
lcdproc_write_config(LCDPROC_CONFIG, $config_text);
// Check for pbi install and arch type then create symlinks (note: -f to overwrite any pre-existing file from the package install)
if (file_exists('/usr/pbi/lcdproc-i386')) { exec("ln -sf ".LCDPROC_CONFIG." /usr/pbi/lcdproc-i386/etc/LCDd.conf"); }
if (file_exists('/usr/pbi/lcdproc-amd64')) { exec("ln -sf ".LCDPROC_CONFIG." /usr/pbi/lcdproc-amd64/etc/LCDd.conf"); }
write_rcfile(array(
'file' => 'lcdproc.sh',
'start' => $start,
Expand Down
2 changes: 1 addition & 1 deletion pkg_config.10.xml
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@
<descr>LCD display driver</descr>
<website>http://www.lcdproc.org/</website>
<category>Utility</category>
<version>lcdproc-0.5.7_1 pkg.v.1.0.1</version>
<version>lcdproc-0.5.7_1 pkg.v.1.0.2</version>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version will also need updating in the older pkg_config etc files to keep it in sync.

<status>BETA</status>
<required_version>2.2</required_version>
<maintainer>seth.mos@dds.nl</maintainer>
Expand Down