Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
   349         kx #!/bin/sh
   349         kx 
   349         kx # arg 1:  the new package version
   349         kx pre_install() {
   349         kx   /bin/true
   349         kx }
   349         kx 
   349         kx # arg 1:  the new package version
   349         kx post_install() {
   349         kx   if ! grep "XML::Simple|" @PERL_LOCAL_POD@ 1> /dev/null 2> /dev/null ; then
   349         kx   cat << EOF >> @PERL_LOCAL_POD@
   349         kx =head2 Wed Jan 10 19:08:18 2024: C<Module> L<XML::Simple|XML::Simple>
   349         kx 
   349         kx =over 4
   349         kx 
   349         kx =item *
   349         kx 
   349         kx C<installed into: /usr/share/perl5/vendor_perl>
   349         kx 
   349         kx =item *
   349         kx 
   349         kx C<LINKTYPE: dynamic>
   349         kx 
   349         kx =item *
   349         kx 
   349         kx C<VERSION: 2.25>
   349         kx 
   349         kx =item *
   349         kx 
   349         kx C<EXE_FILES: >
   349         kx 
   349         kx =back
   349         kx 
   349         kx EOF
   349         kx   fi
   349         kx }
   349         kx 
   349         kx # arg 1:  the new package version
   349         kx # arg 2:  the old package version
   349         kx pre_update() {
   349         kx   /bin/true
   349         kx }
   349         kx 
   349         kx # arg 1:  the new package version
   349         kx # arg 2:  the old package version
   349         kx post_update() {
   349         kx   post_install
   349         kx }
   349         kx 
   349         kx # arg 1:  the old package version
   349         kx pre_remove() {
   349         kx   /bin/true
   349         kx }
   349         kx 
   349         kx # arg 1:  the old package version
   349         kx post_remove() {
   349         kx   /bin/true
   349         kx }
   349         kx 
   349         kx 
   349         kx operation=$1
   349         kx shift
   349         kx 
   349         kx $operation $*