Skip to content

Commit 2c4c6c6

Browse files
committed
Don't use the absolute path in the keyring name
1 parent 94dd9b4 commit 2c4c6c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

postinstall

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,11 @@ dpkg --force-all --configure mawk 2>/dev/null || true
6262
dpkg --configure -a
6363

6464
# Make sure all apt keys are installed
65-
for i in /apt-keys/*.asc; do
65+
cd /apt-keys
66+
for i in *.asc; do
6667
apt-key --keyring /etc/apt/trusted.gpg.d/${i%.*}.gpg add ${i}
6768
done
69+
cd -
6870

6971
# Set root password
7072
echo "root:${RPASS}" | chpasswd

0 commit comments

Comments
 (0)