aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c04d0f7360f31..0d1f3fd6aafca 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