projects
/
projects.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
posaune
[projects.git]
/
tools
/
make
/
create-conffiles
diff --git a/tools/make/create-conffiles
b/tools/make/create-conffiles
new file mode 100755
(executable)
index 0000000..
54567f9
--- /dev/null
+++ b/
tools/make/create-conffiles
@@ -0,0
+1,14
@@
+#!/bin/bash
+set -e
+
+if [ $# -ne 1 ]; then
+ echo "usage: create-conffiles BASE_DIR"
+ exit 1
+fi
+
+cd $1
+mkdir -p DEBIAN
+for files in $(find etc -type f); do
+ echo "/$files" >> DEBIAN/conffiles
+done
+