aboutsummaryrefslogtreecommitdiff
path: root/system/greetd
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2024-01-06 08:11:20 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-06 08:08:38 +0700
commit74beff8b01a533a815bfd8358df00632e2b4df69 (patch)
tree56e61f982438907aada4360434fe39b778f3faff /system/greetd
parentad244da1bc8e84bdaefc6a5aad68afa3c5cf1f39 (diff)
system/greetd: Fix rc.4.greetd ownership.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/greetd')
-rw-r--r--system/greetd/greetd.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/greetd/greetd.SlackBuild b/system/greetd/greetd.SlackBuild
index c04d0f7360f3..0d1f3fd6aafc 100644
--- a/system/greetd/greetd.SlackBuild
+++ b/system/greetd/greetd.SlackBuild
@@ -197,7 +197,7 @@ find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : \
# move this file to 'rc.4.local' for Slackware to boot directly
# to greetd from init level 4 startup
mkdir -p $PKG/etc/rc.d
-cp -a $CWD/rc.4.$PRGNAM $PKG/etc/rc.d/rc.4.$PRGNAM
+cat $CWD/rc.4.$PRGNAM > $PKG/etc/rc.d/rc.4.$PRGNAM
chmod 0644 $PKG/etc/rc.d/rc.4.$PRGNAM
# create this in pkg to ensure it exists with proper perms