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

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 \