diff options
author | Mubashshir | 2021-10-27 00:24:34 +0600 |
---|---|---|
committer | Mubashshir | 2021-10-27 00:32:25 +0600 |
commit | c26c2207644ee4ab4b9fb51fae1a7a085a889e70 (patch) | |
tree | b406b1df2e1f829dc17690fe6c35e91917d3bf8c /whatpulse.install | |
parent | 1653183ba0886da68730fdb780b5ac624d4b1687 (diff) | |
download | aur-c26c2207644ee4ab4b9fb51fae1a7a085a889e70.tar.gz |
Update to v3.5 and use snap as new source
* Remove the install script:
1. 'input' group is a core system group that must be present on an
standard arch linux base.
2. We can setcap in build() or install() inside PKGBUILD, thus using a
install script is not needed.
* Remove changelog file as whatpulse.org now doesn't provide a changelog
* Add license from the windows installer
* Install proper icons generated & resized to needed sizes from official
resources.
* Add meta comments for automated scripts
* Add a gitignore whitelist
Diffstat (limited to 'whatpulse.install')
-rw-r--r-- | whatpulse.install | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/whatpulse.install b/whatpulse.install deleted file mode 100644 index 1620255d6ef1..000000000000 --- a/whatpulse.install +++ /dev/null @@ -1,34 +0,0 @@ -post_install() { - # Create the 'input' group - if [ -n "`cat /etc/group | grep -e ^input:`" ] ; then - echo "Group 'input' already exists!" - else - groupadd input - echo "Created group 'input'." - fi - # Manage permissions for the binary - setcap cap_net_raw,cap_net_admin=eip /usr/bin/whatpulse - - # Display some information about how to set-up permissions - cat <<__EOF__ -==> Now add your user to the 'input' group: -==> # gpasswd -a USERNAME input -==> -==> Now reboot to fix the input permissions, or execute this: -==> # find /dev/input/ -iname "event*" -exec chmod 644 {} \; -==> -==> This temporarily grants everybody read permissions on -==> all input devices, something you should obviously avoid if -==> you fear somebody will eavesdrop those input devices. -__EOF__ -} - -post_upgrade() { - # Manage permissions for the binary - setcap cap_net_raw,cap_net_admin=eip /usr/bin/whatpulse -} - -pre_remove() { - # Warn the user about the 'input' group - echo "The \"input\" group still exists, remove it if you don't use it anymore." -} |