diff --git a/deepin-daemon.spec b/deepin-daemon.spec index de90e8d..cd7ba59 100644 --- a/deepin-daemon.spec +++ b/deepin-daemon.spec @@ -186,7 +186,7 @@ sed -i 's|/lib/udev|/usr/lib/udev|g' Makefile sed -i 's|/etc/modules-load.d|/usr/lib/modules-load.d|g' Makefile %if 0%{?suse_version} > 1500 -sed -i 's|/etc/login.defs|/usr/etc/login.defs' users/list.go users/testdata/login.defs +sed -i 's|/etc/login.defs|/usr/etc/login.defs|g' users/list.go users/testdata/login.defs %endif %build