mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
rpm: bare words are no longer supported
Update for new rpm requirement and use "..." words.
This commit is contained in:
parent
7d3e7266c7
commit
7c262bfc85
@ -58,11 +58,11 @@ fi \
|
||||
%%if %%{enable_systemd} \
|
||||
if [ $1 = 0 ]; then \
|
||||
systemctl --no-reload disable lvm2-%%{-s*}.%%{-t*} > /dev/null 2>&1 || : \
|
||||
%%if %%{-t*} == socket \
|
||||
%%if "%%{-t*}" == "socket" \
|
||||
systemctl --no-reload disable lvm2-%%{-s*}.service > /dev/null 2>&1 || : \
|
||||
%%endif \
|
||||
systemctl stop lvm2-%%{-s*}.%%{-t*} > /dev/null 2>&1 || : \
|
||||
%%if %%{-t*} == socket \
|
||||
%%if "%%{-t*}" == "socket" \
|
||||
systemctl stop lvm2-%%{-s*}.service > /dev/null 2>&1 || : \
|
||||
%%endif \
|
||||
fi \
|
||||
|
Loading…
x
Reference in New Issue
Block a user