summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 66683eb0be5..0f8edb6b8fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -197,8 +197,17 @@ package_lightdm-guest() {
# Install autologin systemd service
cd /$srcdir
- install -Dm755 $_add_group.script $pkgdir/usr/bin/$_add_group
- install -Dm644 $_add_group.service $pkgdir/etc/systemd/system/$_add_group.service
+
+ if [ ! -f $pkgdir/usr/bin/$_add_group.script ]; then
+ install -Dm755 $_add_group.script $pkgdir/usr/bin/$_add_group
+ fi
+
+ if [ ! -f $pkgdir/usr/bin/$_add_group.service ]; then
+ install -Dm644 $_add_group.service $pkgdir/etc/systemd/system/$_add_group.service
+ fi
+
+ #install -Dm755 $_add_group.script $pkgdir/usr/bin/$_add_group
+ #install -Dm644 $_add_group.service $pkgdir/etc/systemd/system/$_add_group.service
}
package_liblightdm-qt5-guest() {