posaune
[projects.git] / tools / make / create-conffiles
1 #!/bin/bash
2 set -e
3
4 if [ $# -ne 1 ]; then
5         echo "usage: create-conffiles BASE_DIR"
6         exit 1
7 fi
8
9 cd $1
10 mkdir -p DEBIAN
11 for files in $(find etc -type f); do
12         echo "/$files" >> DEBIAN/conffiles
13 done
14