Skip to content

Commit fbc18f7

Browse files
committed
build: re-merge a fixed conffiles-gen
1 parent ec1c2ae commit fbc18f7

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

autobuild/build

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1-
cp -a {bashrc,profile} ${PKGDIR}/etc/
2-
cp -r {{bashrc,profile}.d,skel} ${PKGDIR}/etc/
1+
install -dm755 "$PKGDIR"/etc/
2+
cp -a {bashrc,profile} "$PKGDIR"/etc/
3+
cp -r {bashrc.d,profile.d,skel} "$PKGDIR"/etc/
4+
5+
# HACK: generate conffiles
6+
cd "$PKGDIR"
7+
IFS=$'\n'
8+
for i in $(find . -type f); do
9+
echo "${i/./}" >> "$SRCDIR"/autobuild/conffiles
10+
done
11+
IFS=$' \t\n'
12+
cd "$SRCDIR"

0 commit comments

Comments
 (0)