update weechat-activate-matrix.sh (use symlink now for users)

This commit is contained in:
creme 2021-09-23 09:26:15 +00:00
parent ecffde415e
commit cd6c9b9929
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
#!/usr/bin/env bash
cp /opt/services/weechat-matrix-rs/target/release/libmatrix.so "$HOME"/.weechat/plugins/matrix.so
chmod 644 "$HOME"/.weechat/plugins/matrix.so
#cp /opt/services/weechat-matrix-rs/target/release/libmatrix.so "$HOME"/.weechat/plugins/matrix.so
#chmod 644 "$HOME"/.weechat/plugins/matrix.so
ln -s /opt/services/weechat-matrix-rs/target/release/libmatrix.so "$HOME"/.weechat/plugins/matrix.so
exit 0