Skip to content

Commit

Permalink
Change: Fix file permissions on folder for debian build (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
soelangen authored May 21, 2024
1 parent dc8d8d1 commit 9a94c0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/build_debian_pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ mkdir /opt/ossh-src/debian/openssh-pq-client/usr/lib/systemd/user/graphical-sess
ln -sf /opt/ossh-src/debian/openssh-pq-client/usr/lib/systemd/user/ssh-agent.service /opt/ossh-src/debian/openssh-pq-client/usr/lib/systemd/user/graphical-session-pre.target.wants
ln -sf /opt/ossh-src/debian/openssh-pq-client/usr/bin/ssh /opt/ossh-src/debian/openssh-pq-client/usr/bin/slogin

chmod -R 755 /opt/ossh-src/debian/openssh-pq-client/
cd /opt/ossh-src/debian/ && dpkg-deb --build openssh-pq-client
mv /opt/ossh-src/debian/openssh-pq-client.deb /opt/assets/

Expand All @@ -42,5 +43,6 @@ mv /opt/ossh-src/sshd_config /opt/ossh-src/debian/openssh-pq-server/usr/share/op
mv /opt/ossh-src/sshd /opt/ossh-src/debian/openssh-pq-server/sbin/sshd
ln -sf /opt/ossh-src/debian/openssh-pq-server/usr/share/doc/openssh-client /opt/ossh-src/debian/openssh-pq-server/usr/share/doc/openssh-server

chmod -R 755 /opt/ossh-src/debian/openssh-pq-server/
cd /opt/ossh-src/debian/ && dpkg-deb --build openssh-pq-server
mv /opt/ossh-src/debian/openssh-pq-server.deb /opt/assets/

0 comments on commit 9a94c0d

Please sign in to comment.