File: script

package info (click to toggle)
request-tracker5 5.0.7%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 80,264 kB
  • sloc: javascript: 191,898; perl: 87,146; sh: 1,426; makefile: 487; python: 37; php: 15
file content (12 lines) | stat: -rw-r--r-- 438 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-tracker5/ ] || [ `find /usr/local/share/request-tracker5/ -type f | wc -l` -gt 0 ] && echo -e "\nThere are locally modified files in /usr/local/share/request-tracker5/,\n these may (or may not) be the source of the problem.\n"
}

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

files_in_usrlocal || true