| |
@@ -9,11 +9,11 @@
|
| |
This page offers a quick overview of RPM scriptlets
|
| |
and a number of common recipes for scriptlets in packages.
|
| |
For a more complete treatment of scriptlets,
|
| |
- please see the http://www.rpm.org/max-rpm-snapshot/[Maximum RPM book].
|
| |
+ please see the https://ftp.osuosl.org/pub/rpm/max-rpm/[Maximum RPM book].
|
| |
|
| |
The version of RPM in Fedora also has functionality
|
| |
to automatically run scripts when files are placed in certain locations.
|
| |
- (See http://rpm.org/user_doc/file_triggers.html[1].)
|
| |
+ (See https://rpm-software-management.github.io/rpm/manual/file_triggers.html[1].)
|
| |
This potentially obviates the need for most of the scriptlets on this page,
|
| |
but is not currently implemented in all cases where it could be.
|
| |
|
| |
@@ -120,7 +120,7 @@
|
| |
[#pretrans]
|
| |
=== The %pretrans Scriptlet
|
| |
|
| |
- Note that the `+%pretrans+` scriptlet will, in the particular case of system installation, run before anything at all has been installed. This implies that it cannot have any dependencies at all. For this reason, `+%pretrans+` is best avoided, but if used it MUST (by necessity) be written in Lua. See http://rpm.org/user_doc/lua.html for more information.
|
| |
+ Note that the `+%pretrans+` scriptlet will, in the particular case of system installation, run before anything at all has been installed. This implies that it cannot have any dependencies at all. For this reason, `+%pretrans+` is best avoided, but if used it MUST (by necessity) be written in Lua. See https://rpm-software-management.github.io/rpm/manual/lua.html for more information.
|
| |
|
| |
== Writing Scriptlets
|
| |
|
| |
Hello, this PR fixes the dead links to rpm.org.
rpm-software-management.github.io
might be the correct domain.https://ftp.osuosl.org/pub/rpm/max-rpm
.