We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fff903 + 772887f commit a1f9101Copy full SHA for a1f9101
packaging/ondemand-dex.spec
@@ -96,6 +96,12 @@ getent passwd %{name} > /dev/null || useradd -r -d /var/lib/%{name} -g %{name} -
96
97
%post
98
%systemd_post %{name}.service
99
+# On install, run update_ood_portal if installed
100
+if [ $1 == 1 ]; then
101
+ if [ -f /opt/ood/ood-portal-generator/sbin/update_ood_portal ]; then
102
+ /opt/ood/ood-portal-generator/sbin/update_ood_portal --rpm
103
+ fi
104
+fi
105
106
%preun
107
%systemd_preun %{name}.service
0 commit comments