From 20dfd5d2bcd6521ee0e4bbf23b0313adde36e9d1 Mon Sep 17 00:00:00 2001 From: Workantile Date: Thu, 9 Apr 2015 19:41:08 +0000 Subject: [PATCH] Rename doorrc -> doorsrc The added 's' matches the daemon name. Signed-off-by: Workantile --- Makefile | 4 ++-- doors.py | 4 ++-- doorrc => doorsrc | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename doorrc => doorsrc (100%) diff --git a/Makefile b/Makefile index 731a52d..b1e47ee 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ install: 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 uninstall: - rm -v /usr/bin/doorsd /etc/doorrc + rm -v /usr/bin/doorsd /etc/doorsrc diff --git a/doors.py b/doors.py index 689a7a5..f164d94 100755 --- a/doors.py +++ b/doors.py @@ -24,10 +24,10 @@ import os # # #################### -for conf in [ "/etc/doorrc", "./doorrc" ]: +for conf in [ "/etc/doorsrc", "./doorsrc" ]: if os.path.exists(conf): with open(conf) as f: - exec(compile(f.read(), "doorrc", 'exec')) + exec(compile(f.read(), "doorsrc", 'exec')) diff --git a/doorrc b/doorsrc similarity index 100% rename from doorrc rename to doorsrc