mpfire: fix initskript uninstall

Message ID 20240128144253.15682-1-arne_f@ipfire.org
State Staged
Commit c4b233ddf7fb3b48e1f8593d23d740668ab89328
Headers
Series mpfire: fix initskript uninstall |

Commit Message

Arne Fitzenreiter Jan. 28, 2024, 2:42 p.m. UTC
  the uninstall with rm /etc/rc*.d/*mpd remove not only the mpd initlinks.
---
 lfs/mpfire                   | 2 +-
 src/paks/mpfire/uninstall.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/lfs/mpfire b/lfs/mpfire
index f45b02902..590cf31ef 100644
--- a/lfs/mpfire
+++ b/lfs/mpfire
@@ -32,7 +32,7 @@  THISAPP    = mpfire-$(VER)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mpfire
-PAK_VER    = 15
+PAK_VER    = 16
 
 DEPS       = mpd mpc
 
diff --git a/src/paks/mpfire/uninstall.sh b/src/paks/mpfire/uninstall.sh
index e729cb1ff..7dec707ee 100644
--- a/src/paks/mpfire/uninstall.sh
+++ b/src/paks/mpfire/uninstall.sh
@@ -25,4 +25,4 @@ 
 /etc/init.d/mpd stop
 make_backup ${NAME}
 remove_files
-rm -f /etc/rc.d/rc*.d/*mpd /var/log/mpd.error.log /var/log/mpd.log /etc/mpd.conf
+rm -f /etc/rc.d/rc*.d/???mpd /var/log/mpd.error.log /var/log/mpd.log /etc/mpd.conf