File: script

package info (click to toggle)
request-tracker4 4.4.3-2%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 43,364 kB
  • sloc: perl: 61,929; javascript: 22,938; sh: 1,084; makefile: 467; php: 15
file content (12 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/bash

exec >&3

files_in_usrlocal() {
    [ ! -d /usr/local/share/request-tracker4/ ] || [ `find /usr/local/share/request-tracker4/ -type f | wc -l` -gt 0 ] && echo -e "\nThere are locally modified files in /usr/local/share/request-tracker4/,\n these may (or may not) be the source of the problem.\n"
}

echo "Changed files:"
dpkg --verify --verify-format rpm request-tracker4 | awk '{ print "  " $2 }'

files_in_usrlocal