Package: psh Version: 1.8-5 0 Severity: wishlist Tags: patch Hi,
in order to fix bug #344030 for users of psh I need to execute some code in /etc/psh (there unfortunately doesn't seem to be a non-shell-specific way to deal with the corner case in that bug). Attached are patches with 2 competing solutions to do so: 1) modularized_pshrc: this adds looking for a /etc/pshrc.d directory and sourcing all scripts in that directory when present -> IMO this is the preferred solution as: - it can be used by other packages also (e.g. the user-es, and user-de configuration packages could use this to configure things for zsh users) - doesn't clutter the system unnecessarely (though minimally) when desktop-profiles isn't installed . 2) with_bugfix_pshrc: this just adds the shell-snippet needed to fix bug #344030 directly into /etc/pshrc -- Cheers, cobaco /"\ ASCII Ribbon Campaign \ / No proprietary formats in attachments without request X i.e. *NO* WORD, POWERPOINT or EXCEL documents / \ Respect Open Standards http://www.fsf.org/philosophy/no-word-attachments.html http://www.goldmark.org/netrants/no-word/attach.html
with_bugfix_pshrc.pl
Description: Perl program
# The following sources all perl scripts in /etc/pshrc.d, thus allowing for # modularized customization of the shell environment if ( -d '/etc/pshrc.d') { forfile '/etc/pshrc.d/*.pl' Psh::process_file($_); }
pgpgXSM3Nn0KD.pgp
Description: PGP signature