From 2e218e2afb9cb15fbb3490721d0a4b3bf1899375 Mon Sep 17 00:00:00 2001 From: codehelp Date: Sat, 28 Apr 2012 11:41:26 +0000 Subject: [PATCH] Add an update-alternatives helper. git-svn-id: http://emdebian.org/svn/current@8344 563faec7-e20c-0410-992a-a66f704d0ccd --- debian/changelog | 3 ++- debian/source/format | 1 + multistrap | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog index e50f71b..ca4a42c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,8 +5,9 @@ multistrap (2.1.20) experimental; urgency=low (Closes: #670402) * [INTL:pt] Updated Portuguese translation multistrap. (Closes: #670698) + * Add an update-alternatives helper. - -- Neil Williams Sat, 28 Apr 2012 12:40:58 +0100 + -- Neil Williams Sat, 28 Apr 2012 12:41:23 +0100 multistrap (2.1.19) experimental; urgency=low diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/multistrap b/multistrap index 2b62133..24e2a12 100755 --- a/multistrap +++ b/multistrap @@ -675,6 +675,10 @@ sub force_unpack { &guard_lib64 ($dir); } chdir ("$old"); + # update-alternatives helper / preinst helper + if (not -d "${dir}usr/share/man/man1") { + &mkdir_fatal ("${dir}usr/share/man/man1"); + } print _g("I: Unpacking complete.\n"); foreach my $seed (@debconf) { next if (not -f $seed);