summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWichert Akkerman <wakkerma@debian.org>1999-10-14 01:39:49 +0000
committerWichert Akkerman <wakkerma@debian.org>1999-10-14 01:39:49 +0000
commit0c48a9d84ee5b33bb2204b2ef36b6d36e58e4537 (patch)
tree172556f5565fabe3c437cbd63be1bff08d26551b /scripts
parentc526472f4ab88e77f2a847c85c01a42c0aeb3cb1 (diff)
downloaddpkg-0c48a9d84ee5b33bb2204b2ef36b6d36e58e4537.tar.gz
Don't hardcode ENOENT in perlscripts
Add mips to archtable
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dpkg-divert.pl4
-rwxr-xr-xscripts/update-alternatives.pl4
2 files changed, 2 insertions, 6 deletions
diff --git a/scripts/dpkg-divert.pl b/scripts/dpkg-divert.pl
index a6bb5fcd6..7dd53b3b7 100755
--- a/scripts/dpkg-divert.pl
+++ b/scripts/dpkg-divert.pl
@@ -1,8 +1,6 @@
#!/usr/bin/perl --
-#use POSIX; &ENOENT;
-sub ENOENT { 2; }
-# Sorry about this, but POSIX.pm isn't necessarily available
+use Errno;
$version= '1.0.11'; # This line modified by Makefile
sub usageversion {
diff --git a/scripts/update-alternatives.pl b/scripts/update-alternatives.pl
index c0a047c0b..e312f5be8 100755
--- a/scripts/update-alternatives.pl
+++ b/scripts/update-alternatives.pl
@@ -1,8 +1,6 @@
#!/usr/bin/perl --
-#use POSIX; &ENOENT;
-sub ENOENT { 2; }
-# Sorry about this, but POSIX.pm isn't necessarily available
+use Errno;
$version= '0.93.80'; # This line modified by Makefile
sub usageversion {