mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
rpm: bare words are no longer supported
Update for new rpm requirement and use "..." words.
This commit is contained in:
parent
99b6173f10
commit
ee43ec5782
@ -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…
Reference in New Issue
Block a user