File: localepurge

package info (click to toggle)
rootstrap 0.3.24-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 156 kB
  • ctags: 41
  • sloc: sh: 260; python: 185; makefile: 68
file content (8 lines) | stat: -rw-r--r-- 166 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/bin/sh -e

for k in $keep; do
    opts="$opts ! -name $k"
done

find $TARGET/usr/share/locale -maxdepth 1 -mindepth 1 $opts \
    | xargs --no-run-if-empty rm -rf