mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 23:25:57 +01:00
2018-11-01 Fred Gleason <fredg@paravelsystems.com>
* Modified rdselect_helper(8) to use the automounter for managing audio store mounts.
This commit is contained in:
@@ -45,7 +45,7 @@ Requires: rivendell = @VERSION@, rivendell-webapi = @VERSION@
|
||||
|
||||
%package select
|
||||
Summary: The RDSelect system selector tool for Rivendell.
|
||||
Requires: rivendell = @VERSION@
|
||||
Requires: rivendell = @VERSION@, autofs
|
||||
|
||||
|
||||
%description
|
||||
@@ -141,6 +141,7 @@ cp scripts/rd_backup_system.sh $RPM_BUILD_ROOT/@DOC_PATH@/scripts/
|
||||
cp scripts/rd_restore_system.sh $RPM_BUILD_ROOT/@DOC_PATH@/scripts/
|
||||
cp scripts/engine_conv.py $RPM_BUILD_ROOT/@DOC_PATH@
|
||||
cp scripts/init_template_host.py $RPM_BUILD_ROOT/@DOC_PATH@
|
||||
rm -f $RPM_BUILD_ROOT/etc/auto.rd.audiostore
|
||||
|
||||
|
||||
%post
|
||||
@@ -467,10 +468,20 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files select
|
||||
@LOCAL_PREFIX@/bin/rdselect
|
||||
%attr(4755,root,root) @LOCAL_PREFIX@/bin/rdselect_helper
|
||||
/etc/auto.master.d/rd.audiostore.autofs
|
||||
@LOCAL_PREFIX@/bin/rdmonitor
|
||||
/etc/X11/xinit/xinitrc.d/start-rdmonitor.sh
|
||||
|
||||
|
||||
%post select
|
||||
touch /etc/auto.rd.audiostore
|
||||
systemctl restart autofs
|
||||
|
||||
|
||||
%postun select
|
||||
systemctl restart autofs
|
||||
|
||||
|
||||
%changelog
|
||||
* @RPM_DATESTAMP@ Fred Gleason <fredg@paravelsystems.com> - @VERSION@-@RPM_RELEASE@
|
||||
-- Autogenerated from build tree.
|
||||
|
||||
Reference in New Issue
Block a user