aboutsummarylogtreecommitdiffstats
path: root/windscribe-cli.install
blob: 86194bf60fc895c960b75c13710c923febc8b761 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
  . /etc/bash_completion.d/windscribe_complete
  systemctl daemon-reload
}

post_upgrade() {
  systemctl daemon-reload  
}

pre_remove() {
  /usr/bin/windscribe firewall off
  /usr/bin/windscribe logout
  systemctl stop windscribe
}

post_remove() {
  rm -rf /etc/windscribe
  rm -rf /usr/share/doc/windscribe-cli
  rm -rf /etc/bash_completion.d/windscribe_complete
  rm -rf /var/log/windscribe
  systemctl daemon-reload
  systemctl reset-failed
}