summarylogtreecommitdiffstats
path: root/linyaps-test-git.install
blob: 9849db7c930972a70126b180cdedcd6c04f05c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
_info() {
    echo -e "\033[32m:: linyaps getting started:\033[0m"
    echo -e "\033[32m:: linyaps 入门:\033[0m"
    echo -e "   \033[32mEnglish: https://linyaps.org.cn/en/guide/start/whatis.html\033[0m"
    echo -e "   \033[32m简中: https://linyaps.org.cn/guide/start/whatis.html\033[0m"
}

_en_ll() {
    systemctl enable --now org.deepin.linglong.PackageManager.service 
}

_dis_ll() {
    systemctl disable --now org.deepin.linglong.PackageManager.service 
}

post_install() {
    _info
    _en_ll
}

pre_upgrade() {
    _info
    _dis_ll
}

post_upgrade() {
    _info
    _en_ll
}

pre_remove() {
    _dis_ll
}