File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,12 +143,12 @@ install-binary:
143143 mkdir -pv ${DESTDIR}${SYSTEMD_SERVICE_DIR}
144144 cp -R misc/systemd/system/*.service ${DESTDIR}${SYSTEMD_SERVICE_DIR}
145145 # 默认不安装 deepin-locale-helper.service,只有显式开启时才保留
146- if [ "${ INSTALL_LOCALE_HELPER}" != "1" ]; then \
147- rm -f ${DESTDIR}${SYSTEMD_SERVICE_DIR}/deepin-locale-helper.service; \
148- rm -f ${DESTDIR}${PREFIX}/share/dbus-1/system-services/org.deepin.dde.LocaleHelper1.service; \
149- rm -f ${DESTDIR}${PREFIX}/share/polkit-1/actions/org.deepin.dde.locale-helper.policy; \
150- rm -f ${DESTDIR}${PREFIX}/share/dbus-1/system.d/org.deepin.dde.LocaleHelper1.conf; \
151- fi
146+ ifneq ( $( INSTALL_LOCALE_HELPER ) , 1)
147+ rm -f ${DESTDIR}${SYSTEMD_SERVICE_DIR}/deepin-locale-helper.service;
148+ rm -f ${DESTDIR}${PREFIX}/share/dbus-1/system-services/org.deepin.dde.LocaleHelper1.service;
149+ rm -f ${DESTDIR}${PREFIX}/share/polkit-1/actions/org.deepin.dde.locale-helper.policy;
150+ rm -f ${DESTDIR}${PREFIX}/share/dbus-1/system.d/org.deepin.dde.LocaleHelper1.conf;
151+ endif
152152
153153 mkdir -pv ${DESTDIR}${PREFIX}/share/icons/hicolor
154154 cp -R misc/icons/* ${DESTDIR}${PREFIX}/share/icons/hicolor
Original file line number Diff line number Diff line change 1+ #Type Name ID GECOS Home directory Shell
2+ u deepin-daemon - "" - -
3+ m deepin-daemon netdev
Original file line number Diff line number Diff line change 1414 dh $@ --buildsystem=makefile
1515
1616override_dh_auto_install :
17+ dh_installsysusers deepin-daemon.sysusers
1718 dh_auto_install -- INSTALL_LOCALE_HELPER=1
1819
1920override_dh_strip :
You can’t perform that action at this time.
0 commit comments