Skip to content

Commit

Permalink
Don't use the absolute path in the keyring name
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSin- committed Feb 1, 2017
1 parent 94dd9b4 commit 2c4c6c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ dpkg --force-all --configure mawk 2>/dev/null || true
dpkg --configure -a

# Make sure all apt keys are installed
for i in /apt-keys/*.asc; do
cd /apt-keys
for i in *.asc; do
apt-key --keyring /etc/apt/trusted.gpg.d/${i%.*}.gpg add ${i}
done
cd -

# Set root password
echo "root:${RPASS}" | chpasswd
Expand Down

0 comments on commit 2c4c6c6

Please sign in to comment.