File: lightdm

package info (click to toggle)
cruft-ng 0.9.78
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,904 kB
  • sloc: cpp: 1,748; sh: 816; python: 262; makefile: 97; ansic: 82; perl: 75
file content (12 lines) | stat: -rwxr-xr-x 234 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

test -z "$CRUFT_ROOT" || exit 0

for user in root $(awk -F: '{ if ( 1000 <= $3 && $3 < 30000 ) print $1 }' /etc/passwd)
do
	if [ -d "/var/lib/lightdm/data/$user" ]
	then
		echo "/var/lib/lightdm/data/$user"
	fi
done