diff options
author | Mario Preksavec <mario@slackware.hr> | 2022-05-03 23:31:43 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-07 13:59:17 +0700 |
commit | d2e5cb7cd0270057e003fd0e188a5721edcef8ad (patch) | |
tree | 07ca60b57f34e9b17b08078c8267ea15fc6d9eac /system/xen | |
parent | fc8c8b05ea5e6e3625ec16f0f8a707f4c9fc2dde (diff) |
system/xen: Add logic for sysconfig *enhanced* systems.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/xen')
-rw-r--r-- | system/xen/doinst.sh | 3 | ||||
-rw-r--r-- | system/xen/xen.SlackBuild | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/system/xen/doinst.sh b/system/xen/doinst.sh index 51c573cb0c7e9..712b2ddc17e0b 100644 --- a/system/xen/doinst.sh +++ b/system/xen/doinst.sh @@ -31,3 +31,6 @@ find etc/default -type f -name 'xen*.new' \ find etc/xen -type f -name '*.new' \ | while read new ; do config $new ; done +[ -d etc/sysconfig ] && find etc/sysconfig -type f -name 'xen*.new' \ + | while read new ; do config $new ; done + diff --git a/system/xen/xen.SlackBuild b/system/xen/xen.SlackBuild index 3b0a9fded0c46..1d1d31d344dda 100644 --- a/system/xen/xen.SlackBuild +++ b/system/xen/xen.SlackBuild @@ -239,7 +239,7 @@ find $PKG/boot/ -type l -a -name "xen-*" -exec rm -f {} \; 2>/dev/null || true rmdir $PKG/etc/rc.d/init.d/ # Append .new to config files -for i in $PKG/etc/{default/*,xen/*.conf} ; do mv $i $i.new ; done +for i in $PKG/etc/{default/*,xen/*.conf,sysconfig/*} ; do [ -f $i ] && mv $i $i.new ; done # Remove some executable flags chmod -x $PKG/usr/libexec/xen/boot/*.gz 2>/dev/null || true |