Skip to content

Commit

Permalink
Merge pull request #15 from grierj/master
Browse files Browse the repository at this point in the history
Update the spec.template to allow for %pre and %postun to work
  • Loading branch information
Erik Bourget committed Nov 28, 2011
2 parents cc529c3 + a426756 commit de4df9d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions root/usr/share/multipkg/templates/spec.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ Obsoletes: %obsoletelist%
%description
%summary%

%%ifscript(pre.sh)
%pre
%%pre.sh%%
%%endif

%%ifscript(post.sh)
%post
%%post.sh%%
Expand All @@ -26,3 +31,7 @@ Obsoletes: %obsoletelist%
%%preun.sh%%
%%endif

%%ifscript(postun.sh)
%postun
%%postun.sh%%
%%endif

0 comments on commit de4df9d

Please sign in to comment.