ports/shells/perlsh/files/patch-postinstall.pl
Yen-Ming Lee ae34867263 - It was not installing on FreeBSD 4.x with perl 5.00503.
- Rename patch-aa to reflect which file is patched.
- update /etc/shells in pkg-plist for package

PR:		80104
Submitted by:	Renato Botelho <freebsd@galle.com.br> (maintainer)
2005-04-19 17:46:52 +00:00

18 lines
442 B
Perl

--- postinstall.pl.orig Tue Apr 19 10:41:53 2005
+++ postinstall.pl Tue Apr 19 10:42:00 2005
@@ -1,9 +1,4 @@
-if ($^O eq 'MSWin32') {
- mkdir("/psh");
- system("xcopy share\\themes \\psh /Y");
- system("xcopy share\\complete \\psh /Y");
-} else {
my $where;
if( -w '/') {
@@ -15,5 +10,4 @@
system("mkdir -p $where/share/psh");
system("cp -r share/themes $where/share/psh");
system("cp -r share/complete $where/share/psh");
-}