diff options
author | Nek-12 | 2021-01-18 10:40:30 +0300 |
---|---|---|
committer | Nek-12 | 2021-01-18 10:40:30 +0300 |
commit | 3be6d50da465f8fe98d0a988dee71d6540110790 (patch) | |
tree | e92579e56286afd3e90e7445971cdf9fbef5e9b2 /notion-enhancer | |
parent | 2a4e0f105abd217f230e139d2488a441deb73b10 (diff) | |
download | aur-3be6d50da465f8fe98d0a988dee71d6540110790.tar.gz |
removed hacky implicit chmod, fixed hooks
Diffstat (limited to 'notion-enhancer')
-rw-r--r-- | notion-enhancer | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/notion-enhancer b/notion-enhancer index 1efba70b3925..17a84395a0d5 100644 --- a/notion-enhancer +++ b/notion-enhancer @@ -10,8 +10,7 @@ yellow="${bold}$(tput setaf 3)" post_install() { echo "Applying notion-enhancer automatically..." - warn "The installer will own the files necessary for it to work with chmod -R a+wr. Ignore the warnings if any" - chmod -R a+wr /usr/lib/node_modules/notion-enhancer/ /opt/notion-app/ /usr/share/applications/notion-app.desktop /usr/bin/notion-app + warn "If you want to use the enhancer without running sudo (recommended by the developer), then run \n chmod -R a+wr /usr/lib/node_modules/notion-enhancer/ /opt/notion-app/app /usr/share/applications/notion-app.desktop /usr/bin/notion-app \n However, be wary of the security risks posed by such patch." notion-enhancer apply -y } @@ -22,6 +21,7 @@ post_upgrade() { echo "Reapplying notion-enhancer" notion-enhancer remove -n # don't delete the data notion-enhancer apply -y # yes, overwrite + warn "If you want to use the enhancer without running sudo (recommended by the developer), then run: \n chmod -R a+wr /usr/lib/node_modules/notion-enhancer/ /opt/notion-app/app /usr/share/applications/notion-app.desktop /usr/bin/notion-app \n However, be wary of the security risks posed by such patch." fi } |