Skip to content

Commit b7aee80

Browse files
committed
Enable systemd service in all users
1 parent 4058355 commit b7aee80

3 files changed

Lines changed: 33 additions & 1 deletion

File tree

biglinux-webapps/usr/share/icons/hicolor/scalable/apps/webapp-webapp.svg renamed to biglinux-webapps/usr/share/icons/hicolor/scalable/apps/webapp.svg

File renamed without changes.

pkgbuild/PKGBUILD

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ pkgdesc="Installs and removes BigLinux WebApps"
1010
depends=('bigbashview' 'python-bs4' 'python-requests' 'python-pillow' 'yad')
1111
source=("git+https://github.com/biglinux/biglinux-webapps.git")
1212
md5sums=(SKIP)
13-
13+
if [ -e "${pkgname}.install" ];then
14+
install=${pkgname}.install
15+
fi
1416

1517
package() {
1618
# Verify default folder

pkgbuild/biglinux-webapps.install

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## arg 1: the new package version
2+
#pre_install() {
3+
# do something here
4+
#}
5+
6+
## arg 1: the new package version
7+
post_install() {
8+
systemctl --global enable biglinux-webapps
9+
}
10+
11+
## arg 2: the old package version
12+
#pre_upgrade() {
13+
# do something here
14+
#}
15+
16+
## arg 2: the old package version
17+
post_upgrade() {
18+
post_install
19+
}
20+
21+
## arg 1: the old package version
22+
pre_remove() {
23+
systemctl --global disable biglinux-webapps
24+
}
25+
26+
## arg 1: the old package version
27+
#post_remove() {
28+
# do something here
29+
#}
30+

0 commit comments

Comments
 (0)