Skip to content

Commit 088be70

Browse files
authored
Merge pull request #1984 from NicholasBHubbard/upstart-config-path-bug-fix
Fix bug in deb.rb outputting erroneous conffiles file when specifying upstart config
2 parents 2bcdb34 + febcb4e commit 088be70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fpm/package/deb.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ def add_path(path, allconfigs)
11941194
end
11951195
upstarts.each do |upstart|
11961196
name = File.basename(upstart, ".upstart")
1197-
upstartscript = "etc/init/#{name}.conf"
1197+
upstartscript = "/etc/init/#{name}.conf"
11981198
logger.debug("Add conf file declaration for upstart script", :script => upstartscript)
11991199
allconfigs << upstartscript[1..-1]
12001200
end

0 commit comments

Comments
 (0)