Skip to content

Commit

Permalink
Fix file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
safing-bot committed Mar 1, 2023
1 parent abc8976 commit 0d50e54
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions linux/templates/create-archive.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ done
# Copy the arch.install file into our assets
cp archive.install "${pkgdir}/.INSTALL.sh"

# Fix file permissions for archive.
(
cd ${pkgdir} &&
find . -type d -exec chmod 0755 {} \; &&
find . -type f -exec chmod 0644 {} \; &&
find . -type f -name "*.sh" -exec chmod 0755 {} \;
)

# Create filelist to support easy uninstallation
# like doing a `cat /opt/safing/portmaster/.installed-files | sudo xargs rm`
( cd ${pkgdir} && find . -type f ) >> ${pkgdir}/.installed-files
Expand Down
Empty file modified linux/templates/no-log-install.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/postinstall.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/postremove.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/preinstall.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/preremove.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/snippets/common.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/snippets/install-systemd-utils.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/snippets/post-install.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/snippets/post-remove.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/snippets/post-upgrade.sh
100644 → 100755
Empty file.
Empty file modified linux/templates/snippets/pre-remove.sh
100644 → 100755
Empty file.
Empty file modified linux/tests/common.sh
100644 → 100755
Empty file.

0 comments on commit 0d50e54

Please sign in to comment.