summarylogtreecommitdiffstats
path: root/sk-chos-tool.install
blob: e03431cebed08ca925c4848274fdb4ed8c40c20b (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
34
35
DEVICENAME=$(cat /sys/devices/virtual/dmi/id/product_name)

# 安装或升级后的操作
post_upgrade_or_install() {
    echo ""
}

# 安装前的操作
pre_install() {
    echo ""
}

# 升级前的操作
pre_upgrade() {
    echo ""
}

# 安装后的操作
post_install() {
    post_upgrade_or_install
}

# 升级后的操作
post_upgrade() {
    post_upgrade_or_install
}


pre_remove() {
    echo ""
}

post_remove() {
    echo ""
}