mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +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
|
--- a/scripts/install-sh
|
||||||
+++ b/scripts/install-sh
|
+++ b/scripts/install-sh
|
||||||
@@ -163,6 +163,9 @@ while ${MORETODO} ; do
|
@@ -163,6 +163,8 @@ while ${MORETODO} ; do
|
||||||
esac
|
esac
|
||||||
${MORETODO} && shift
|
${MORETODO} && shift
|
||||||
done
|
done
|
||||||
+CHOWN=:
|
+CHOWN=:
|
||||||
+CHGRP=:
|
+CHGRP=:
|
||||||
+CHMOD=:
|
|
||||||
|
|
||||||
## Making a directory?
|
## Making a directory?
|
||||||
if ${DIRMODE} ; then
|
if ${DIRMODE} ; then
|
||||||
|
|
|
@ -27,12 +27,7 @@ post_configure() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_install() {
|
|
||||||
find ${wrksrc} -type f -name Makefile -exec sed -i 's,$(INSTALL_OWNER),,g' {} \;
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
chmod +s ${DESTDIR}/usr/bin/sudo
|
|
||||||
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
|
vinstall ${FILESDIR}/sudo.pam 644 etc/pam.d sudo
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
# remove unused stuff.
|
# remove unused stuff.
|
||||||
|
|
Loading…
Add table
Reference in a new issue