summaryrefslogtreecommitdiff
path: root/pages/linux/_via_packages.html.haml
blob: 3b8e13f280e222b46417da13d5f4ebbf55c43841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- @fetch = @locals[:os] == 'debian' ? 'wget -O-' : 'curl'

%p.b
  To install

%pre
  :preserve
    sudo -s
    add-apt-repository "deb http://deb.bitmask.net/debian #{@locals[:distro]} main"
    #{@fetch} https://dl.bitmask.net/apt.key | apt-key add -
    apt-get update
    apt-get install bitmask leap-keyring

%p.b
  To remove

%pre
  :preserve
    sudo -s
    apt-get remove bitmask leap-keyring
    apt-key del 0x1E34A1828E207901
    add-apt-repository --remove "deb http://deb.bitmask.net/debian #{@locals[:distro]} main"