Skip to content

Commit 7ef007e

Browse files
André Kelpejordansissel
André Kelpe
authored andcommitted
fix RPM documentation links in docs and code (#2092)
The previous versions where all returning 404. This change points to the new correct locations.
1 parent 3f044a4 commit 7ef007e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fpm/package/rpm.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class FPM::Package::RPM < FPM::Package
156156

157157
option "--macro-expansion", :flag,
158158
"install-time macro expansion in %pre %post %preun %postun scripts " \
159-
"(see: https://rpm.org/user_doc/scriptlet_expansion.html)", :default => false
159+
"(see: https://rpm-software-management.github.io/rpm/manual/scriptlet_expansion.html)", :default => false
160160

161161
option "--verifyscript", "FILE",
162162
"a script to be run on verification" do |val|
@@ -175,7 +175,7 @@ class FPM::Package::RPM < FPM::Package
175175
rpm_trigger = []
176176
option "--trigger-#{trigger_type}", "'[OPT]PACKAGE: FILEPATH'", "Adds a rpm trigger script located in FILEPATH, " \
177177
"having 'OPT' options and linking to 'PACKAGE'. PACKAGE can be a comma seperated list of packages. " \
178-
"See: http://rpm.org/api/4.4.2.2/triggers.html" do |trigger|
178+
"See: https://rpm-software-management.github.io/rpm/manual/triggers.html" do |trigger|
179179
match = trigger.match(/^(\[.*\]|)(.*): (.*)$/)
180180
@logger.fatal("Trigger '#{trigger_type}' definition can't be parsed ('#{trigger}')") unless match
181181
opt, pkg, file = match.captures

0 commit comments

Comments
 (0)