diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-04-19 17:46:52 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-04-19 17:46:52 +0000 |
commit | ae348672638f51b80d0103d54ce521baff8a131e (patch) | |
tree | 797d4849be7072a481d7443bf05045d48d052937 /shells/psh/files/patch-postinstall.pl | |
parent | Update to 4.9.0. (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=133693
Diffstat (limited to 'shells/psh/files/patch-postinstall.pl')
-rw-r--r-- | shells/psh/files/patch-postinstall.pl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/shells/psh/files/patch-postinstall.pl b/shells/psh/files/patch-postinstall.pl new file mode 100644 index 000000000000..6770690f8947 --- /dev/null +++ b/shells/psh/files/patch-postinstall.pl @@ -0,0 +1,18 @@ +--- 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"); +-} + |