Skip to content

Commit

Permalink
set world read-only permissions on web content
Browse files Browse the repository at this point in the history
removed unused travis config
  • Loading branch information
dernasherbrezon committed Nov 2, 2024
1 parent 2c9e17f commit 0d954b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
DATE=$(date '+%Y%m%d%H%M%S')
APT_CLI_VERSION="1.8"
echo "Version: ${DATE}" >> debian/DEBIAN/control
chmod 755 debian/DEBIAN/postinst
dpkg-deb --build debian r2cloud-ui-${DATE}.deb
mkdir -p ~/.m2/repository/
[[ -f ~/.m2/repository/apt-cli-${APT_CLI_VERSION}.jar ]] || wget --no-clobber --quiet -O ~/.m2/repository/apt-cli-${APT_CLI_VERSION}.jar https://github.com/dernasherbrezon/apt-cli/releases/download/apt-cli-${APT_CLI_VERSION}/apt-cli.jar
Expand Down
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

5 changes: 5 additions & 0 deletions debian/DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if [ "$1" = "configure" ]; then
chown -R root:root /usr/share/doc/r2cloud-ui
chmod -R 644 /usr/share/doc/r2cloud-ui
find /usr/share/doc/r2cloud-ui -type d -exec chmod 755 {} \;
fi

0 comments on commit 0d954b0

Please sign in to comment.