Rename doorrc -> doorsrc

The added 's' matches the daemon name.

Signed-off-by: Workantile <maintainers@workantile.com>
This commit is contained in:
Workantile 2015-04-09 19:41:08 +00:00
parent ed1ddbcf0e
commit 20dfd5d2bc
3 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
install: install:
install -v doors.py /usr/bin/doorsd install -v doors.py /usr/bin/doorsd
install -D -v doorrc /etc/doorrc install -D -v doorsrc /etc/doorsrc
install -v doorsd.service /usr/lib/systemd/system/doorsd.service install -v doorsd.service /usr/lib/systemd/system/doorsd.service
uninstall: uninstall:
rm -v /usr/bin/doorsd /etc/doorrc rm -v /usr/bin/doorsd /etc/doorsrc

View File

@ -24,10 +24,10 @@ import os
# # # #
#################### ####################
for conf in [ "/etc/doorrc", "./doorrc" ]: for conf in [ "/etc/doorsrc", "./doorsrc" ]:
if os.path.exists(conf): if os.path.exists(conf):
with open(conf) as f: with open(conf) as f:
exec(compile(f.read(), "doorrc", 'exec')) exec(compile(f.read(), "doorsrc", 'exec'))

View File