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 | |
parent | 6a7cde9ec46f9ad74a1a0a404103aad6e8d91494 (diff) | |
download | ports-ae348672638f51b80d0103d54ce521baff8a131e.tar.gz ports-ae348672638f51b80d0103d54ce521baff8a131e.zip |
Notes
Diffstat (limited to 'shells')
-rw-r--r-- | shells/perlsh/files/patch-Makefile.PL (renamed from shells/perlsh/files/patch-aa) | 0 | ||||
-rw-r--r-- | shells/perlsh/files/patch-postinstall.pl | 18 | ||||
-rw-r--r-- | shells/perlsh/pkg-plist | 2 | ||||
-rw-r--r-- | shells/psh/files/patch-Makefile.PL (renamed from shells/psh/files/patch-aa) | 0 | ||||
-rw-r--r-- | shells/psh/files/patch-postinstall.pl | 18 | ||||
-rw-r--r-- | shells/psh/pkg-plist | 2 |
6 files changed, 40 insertions, 0 deletions
diff --git a/shells/perlsh/files/patch-aa b/shells/perlsh/files/patch-Makefile.PL index 283792b3f0bd..283792b3f0bd 100644 --- a/shells/perlsh/files/patch-aa +++ b/shells/perlsh/files/patch-Makefile.PL diff --git a/shells/perlsh/files/patch-postinstall.pl b/shells/perlsh/files/patch-postinstall.pl new file mode 100644 index 000000000000..6770690f8947 --- /dev/null +++ b/shells/perlsh/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"); +-} + diff --git a/shells/perlsh/pkg-plist b/shells/perlsh/pkg-plist index c34c69a29dc7..8e263dd38ac6 100644 --- a/shells/perlsh/pkg-plist +++ b/shells/perlsh/pkg-plist @@ -1,5 +1,7 @@ @comment $FreeBSD$ bin/psh +@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak +@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak share/psh/complete/debian share/psh/complete/perl share/psh/complete/standard diff --git a/shells/psh/files/patch-aa b/shells/psh/files/patch-Makefile.PL index 283792b3f0bd..283792b3f0bd 100644 --- a/shells/psh/files/patch-aa +++ b/shells/psh/files/patch-Makefile.PL 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"); +-} + diff --git a/shells/psh/pkg-plist b/shells/psh/pkg-plist index c34c69a29dc7..8e263dd38ac6 100644 --- a/shells/psh/pkg-plist +++ b/shells/psh/pkg-plist @@ -1,5 +1,7 @@ @comment $FreeBSD$ bin/psh +@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak +@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak share/psh/complete/debian share/psh/complete/perl share/psh/complete/standard |