Skip to content

Commit 79fde85

Browse files
committed
autobuild: conffiles
1 parent 6f3f5c7 commit 79fde85

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

autobuild/build

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,13 @@ install -Dm644 profile abdist/etc/profile
33
cp -r bashrc.d abdist/etc/
44
cp -r profile.d abdist/etc/
55
cp -r skel abdist/etc/
6+
rm autobuild/conffiles
7+
8+
# HACK: generate conffiles
9+
cd abdist
10+
IFS=$'\n'
11+
for i in $(find .); do
12+
echo "${i/.\/}" >> autobuild/conffiles
13+
done
14+
IFS=$' \t\n'
15+
cd $SRCDIR

autobuild/defines

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@ PKGREL=0
44
PKGDEP=bash
55
PKGSEC=misc
66
PKGDES="Generic Bash Startup Files for AOSC OS"
7-
8-
# HACK: generate conffiles
9-
for i in `find . -type f | grep -E '(profile|bashrc|skel)'`; do
10-
echo /etc/$i >> autobuild/conffiles
11-
done

0 commit comments

Comments
 (0)