File: 02-bash-term-in-posix-shell.diff

package info (click to toggle)
needrestart 3.6-4%2Bdeb12u3
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 936 kB
  • sloc: perl: 3,371; sh: 277; makefile: 82
file content (11 lines) | stat: -rw-r--r-- 477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# Workaround needrestart: bash-term-in-posix-shell '& read -p' [etc/needrestart/restart.d/dbus.service:65]

diff -Naur needrestart-3.6.orig/ex/restart.d/dbus.service needrestart-3.6/ex/restart.d/dbus.service
--- needrestart-3.6.orig/ex/restart.d/dbus.service	2022-05-17 16:59:22.000000000 +0200
+++ needrestart-3.6/ex/restart.d/dbus.service	2022-09-14 10:13:58.372840646 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # by Vladimir Kudrya
 # https://github.com/Vladimir-csp/