File: fileloc

package info (click to toggle)
comitup 1.43-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,252 kB
  • sloc: python: 3,093; javascript: 1,261; sh: 95; makefile: 34
file content (20 lines) | stat: -rwxr-xr-x 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

declare -a Paths=("/etc/comitup.conf" \
       "/usr/share/dbus-1/system.d/comitup-dbus.conf" \
       "/lib/systemd/system/comitup.service" \
       "/usr/share/comitup/comitup-cmd" \
       "/usr/share/comitup/web/comitupweb.py"\
       "/usr/sbin/comitup" \
       "/var/lib/comitup" \
       "/usr/share/comitup/comitup/comitup.py")

retval=0
for path in ${Paths[@]}; do
    if [ ! -e $path ]; then
        echo "Not found - $path"
        retval=1
    fi
done

exit $retval