summarylogtreecommitdiffstats
path: root/gp.install
blob: f3eb248bf433416af4cfcde18a447e07166f2e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
    # Update the the dbus user to logname
    sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf

    systemctl enable gpservice.service
    systemctl restart gpservice.service
}

post_upgrade() {
    post_install
}