summaryrefslogtreecommitdiff
path: root/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common.sh')
-rw-r--r--common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.sh b/common.sh
index 3cd4f5e..d2fcb5f 100644
--- a/common.sh
+++ b/common.sh
@@ -35,7 +35,7 @@ EOF
add-unit() (
install -dm755 "${1%/*}"
- base="$(sed 's/@[^.]\./@./' <<<"${1##*/}")"
+ base="$(sed 's/@[^.]*\./@./' <<<"${1##*/}")"
srcs=(
"etc/systemd/system/${1##*/}"
"etc/systemd/system/$base"