This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=5c2bf2c802c9d58539654096dc4e23ffce673977

commit 5c2bf2c802c9d58539654096dc4e23ffce673977 (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Mar 21 00:31:30 2023 +0100

    dselect: Remove unused ismulti() function from media method actions
    
    This function is only used in the setup action script.
---
 dselect/methods/media/install.sh | 3 ---
 dselect/methods/media/update.sh  | 4 ----
 2 files changed, 7 deletions(-)

diff --git a/dselect/methods/media/install.sh b/dselect/methods/media/install.sh
index 625ca22e6..91e717df8 100755
--- a/dselect/methods/media/install.sh
+++ b/dselect/methods/media/install.sh
@@ -30,9 +30,6 @@ debug() {
   true
 }
 iarch=$(dpkg --print-architecture)
-ismulti() {
-  test -e "$1/.disk/info" || test -e "$1$2/.disk/info"
-}
 
 # 1/ mountpoint
 # 2/ hierarchy
diff --git a/dselect/methods/media/update.sh b/dselect/methods/media/update.sh
index 50453321a..524cf073d 100755
--- a/dselect/methods/media/update.sh
+++ b/dselect/methods/media/update.sh
@@ -30,10 +30,6 @@ cd "$vardir/methods/$method"
 debug() {
   true
 }
-ismulti() {
-  debug $1 $2
-  test -e "$1/.disk/info" || test -e "$1$2/.disk/info"
-}
 
 packages=0
 for f in main ctb nf lcl; do

-- 
Dpkg.Org's dpkg

Reply via email to