1
0
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:
Zdenek Kabelac 2020-10-02 22:13:51 +02:00
parent 99b6173f10
commit ee43ec5782

View File

@ -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 \