summarylogtreecommitdiffstats
path: root/noisetorch-bin.install
diff options
context:
space:
mode:
authorSergey A2022-06-03 07:52:30 +0300
committerSergey A2022-06-03 07:52:30 +0300
commit25e025f125c1f38c5fa98915d9abda0ed588d2da (patch)
tree20e44c92114784bff9b9a5983c0ea73fa4bbf188 /noisetorch-bin.install
parent5193529aebac1cf2cafdd10e428a1b76bd837d68 (diff)
downloadaur-25e025f125c1f38c5fa98915d9abda0ed588d2da.tar.gz
update to 0.12.0 \o/
Fresh build after community security audit: https://github.com/noisetorch/NoiseTorch/discussions/275 Binaries are now properly built via Github Actions.
Diffstat (limited to 'noisetorch-bin.install')
-rw-r--r--noisetorch-bin.install12
1 files changed, 6 insertions, 6 deletions
diff --git a/noisetorch-bin.install b/noisetorch-bin.install
index b8a4231c011a..117d8a4fc1ca 100644
--- a/noisetorch-bin.install
+++ b/noisetorch-bin.install
@@ -1,11 +1,11 @@
post_install() {
- printf "NoiseTorch provides a self-update feature as part of the GUI.\n"
- printf "The feature won't work with this package.\n"
- printf "Don't attempt to update if prompted via the GUI\n"
- printf "See the project page for details.\n\n"
- printf "https://github.com/lawl/NoiseTorch\n\n"
+ setcap 'CAP_SYS_RESOURCE=+ep' usr/bin/noisetorch
+
+ # Disclaimer about a potential compromise of the source code
+ echo "NOTE: The original developer can not guarantee the security of the code of versions before 0.11.6. Additionally development has shifted to a new repository."
+ echo "The current codebase has been audited by the community, as can be seen here: https://github.com/noisetorch/NoiseTorch/discussions/275"
}
post_upgrade() {
- post_install
+ post_install "$1"
}