mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
sudo: fix patching step
This commit is contained in:
parent
0bf175f0f0
commit
bc79eb3166
2 changed files with 1 additions and 7 deletions
|
@ -1,12 +1,11 @@
|
|||
--- a/scripts/install-sh
|
||||
+++ b/scripts/install-sh
|
||||
@@ -163,6 +163,9 @@ while ${MORETODO} ; do
|
||||
@@ -163,6 +163,8 @@ while ${MORETODO} ; do
|
||||
esac
|
||||
${MORETODO} && shift
|
||||
done
|
||||
+CHOWN=:
|
||||
+CHGRP=:
|
||||
+CHMOD=:
|
||||
|
||||
## Making a directory?
|
||||
if ${DIRMODE} ; then
|
||||
|
|
|
@ -27,12 +27,7 @@ post_configure() {
|
|||
esac
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
find ${wrksrc} -type f -name Makefile -exec sed -i 's,$(INSTALL_OWNER),,g' {} \;
|
||||
}
|
||||
|
||||
post_install() {
|
||||
chmod +s ${DESTDIR}/usr/bin/sudo
|
||||
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
|
||||
vlicense LICENSE.md
|
||||
# remove unused stuff.
|
||||
|
|
Loading…
Add table
Reference in a new issue