replacefile.plug(1)

πŸ“¦
version 2.21 Β· 2 versions
, in epel 9, fedora 43, fedora 44

πŸ’– NAME πŸ’–

okay so bestie, welcome to replacefile.plug(1) β€” it's a plugin for rpmrebuild, and its whole thing is replacing a file's content πŸ’…βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

three ways to summon it, pick ur fighter:

SRC=new_file_content DEST=file_to_be_replaced rpmrebuild --include replacefile.plug <packagename>
rpmrebuild --change-files="replacefile.sh -s new_file_content -d file_to_be_replaced" <packagename>
SRC=new_file_content DEST=file_to_be_replaced rpmrebuild --change-files="replacefile.sh" <packagename>

🌸 DESCRIPTION 🌸

so like, this plugin lets u replace a file's content with the content of another file. that's it. that's the vibe. iconic behavior honestly 🫢


✨ OPTIONS ✨

  • -h, --help β€” spits out the help info for the plugin's options and then dips out. bye πŸ‘‹
  • -v, --version β€” prints the plugin version and exits, no notes πŸ“

πŸŽ€ FILES πŸŽ€

  • replacefile.sh β€” the file holding the code that actually gets executed, the main character fr
  • replacefile.plug β€” the file holding the code that gets included
  • replacefile.plug.1 β€” bestie... it's literally this man page ur reading right now 😭

🌈 ENVIRONMENT 🌈

  • SRC β€” the path to the new file content, aka the glow-up source πŸ’–
  • DEST β€” the path to the file that's getting replaced, pour one out πŸ₯²

πŸ”₯ EXAMPLES πŸ”₯

option one, the flag way:

rpmrebuild --change-files="replacefile.sh -s /tmp/motd -d etc/motd" setup

option two, env vars + --change-files:

SRC=/tmp/motd DEST=etc/motd rpmrebuild --change-files="replacefile.sh" setup

option three, env vars + --include:

SRC=/tmp/motd DEST=etc/motd rpmrebuild --include replacefile.plug setup

all three are doing the same thing btw, just different outfit choices πŸ‘‘


πŸ‘‘ AUTHORS πŸ‘‘

Eric Gerbier <eric.gerbier@tutanota.com> β€” the legend, the blueprint πŸ’œ

See <URL:http://rpmrebuild.sourceforge.net/>.


πŸ’€ NOTES πŸ’€

not a single note in here bestie, the section is just... standing there. empty. serving nothing but presence 🧚


rpmrebuild is copyright (C) 2024 by Eric Gerbier.

this program is distributed under GNU General Public License.

It is provided "as is", without any express or implied warranties. See the file COPYING for details.

okay so that "as is" part is real, fr fr β€” no promises, no guarantees, read COPYING if u wanna know the whole deal πŸ’…

🌟 SEE ALSO 🌟


and that's the whole page, bestie 🫢 this was replacefile.plug(1), version 2.21, written by Eric Gerbier β€” mwah, no cap, go replace some files πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from