2 Commits

Author SHA1 Message Date
2cc45c7967 * Tue Sep 23 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.2-19.sme
- fix /run/BackupPC instead of /var prevents service start
- fix smanager2 display
- add navigation2-conf and routes2-conf action
2025-09-24 15:22:48 -04:00
6ae090f94b * Tue Sep 23 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.2-19.sme
- fix /run/BackupPC instead of /var prevents service start
- TODO: fix smanager2 display
2025-09-23 17:03:11 -04:00
4 changed files with 9 additions and 17 deletions

View File

@@ -1 +0,0 @@
contribs10

View File

@@ -2,21 +2,6 @@
use esmith::Build::CreateLinks qw(:all);
# Start and stop links - SME9
#service_link_enhanced("backuppc", "S98", "7");
#service_link_enhanced("backuppc", "K10", "6");
#service_link_enhanced("backuppc", "K10", "0");
#service_link_enhanced("backuppc", "K10", "1");
#service_link_enhanced("httpd-bkpc", "S86", "7");
#service_link_enhanced("httpd-bkpc", "K15", "6");
#service_link_enhanced("httpd-bkpc", "K15", "0");
#service_link_enhanced("httpd-bkpc", "K15", "1");
#safe_symlink("../daemontools" , 'root/etc/rc.d/init.d/supervise/httpd-bkpc');
#safe_symlink("/var/service/httpd-bkpc" , 'root/service/httpd-bkpc');
# Panel links
panel_link("backuppc", 'manager');
@@ -43,6 +28,8 @@ $event = 'smeserver-BackupPC-update'; #Must match rpm name
#action specific to this package
event_link("backuppc-checkupgrade", $event, "20");
event_link("backuppc-genkey", $event, "10");
event_link("navigation2-conf", $event, "80");
event_link("routes2-conf", $event, "80");
event_link("backuppc-checkupgrade", "post-upgrade", "91");
event_link("backuppc-genkey", "post-upgrade", "90");
#services we need to restart

View File

@@ -8,6 +8,7 @@ if [ -e /etc/BackupPC/config.pl ]; then
# Update paths
sed -i 's|/opt/backuppc/files|/var/lib/BackupPC|' /etc/BackupPC/config.pl
sed -i 's|/var/run/BackupPC|/run/BackupPC|' /etc/BackupPC/config.pl
sed -i 's|/usr/local/BackupPC|/usr/share/BackupPC|' /etc/BackupPC/config.pl
sed -i 's|/opt/backuppc/cgi-bin|/usr/share/BackupPC/sbin|' /etc/BackupPC/config.pl
sed -i 's|/opt/backuppc/images|/usr/share/BackupPC/html|' /etc/BackupPC/config.pl

View File

@@ -4,7 +4,7 @@
Name: smeserver-BackupPC
Version: 0.2
Release: 18%{?dist}
Release: 19%{?dist}
Summary: BackupPC integration into SME server
Group: Applications/System
@@ -52,6 +52,11 @@ This package contains specific configuration for SME server
#----------------------------------------------------
%changelog
* Tue Sep 23 2025 Jean-Philippe Pialasse <jpp@koozali.org> 0.2-19.sme
- fix /run/BackupPC instead of /var prevents service start
- fix smanager2 display
- add navigation2-conf and routes2-conf action
* Tue Sep 23 2025 Brian Read <brianr@koozali.org> 0.2-18.sme
- Change $config to config in layout file(s) [SME: 13171]