File: script

package info (click to toggle)
request-tracker4 4.4.7%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 62,888 kB
  • sloc: javascript: 130,444; perl: 65,442; sh: 1,350; makefile: 480; python: 37; php: 30
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