summaryrefslogtreecommitdiff
path: root/www-misc/profile-sync-daemon/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /www-misc/profile-sync-daemon/files
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'www-misc/profile-sync-daemon/files')
-rw-r--r--www-misc/profile-sync-daemon/files/bad-substitution-fix.patch11
-rw-r--r--www-misc/profile-sync-daemon/files/openrc-path.patch13
2 files changed, 24 insertions, 0 deletions
diff --git a/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch b/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch
new file mode 100644
index 000000000000..7551b08157a6
--- /dev/null
+++ b/www-misc/profile-sync-daemon/files/bad-substitution-fix.patch
@@ -0,0 +1,11 @@
+--- a/common/profile-sync-daemon.in 2015-07-29 16:57:24.000000000 -0400
++++ b/common/profile-sync-daemon.in 2017-07-25 21:35:59.209639588 -0400
+@@ -581,7 +581,7 @@
+ # check that the LAST DIRECTORY in the full path is unique
+ unique_count=$(echo ${DIRArr[@]##*/} |
+ sed 's/ /\n/g' | sort -u | wc -l)
+- if [[ ${#DIRArr[@]##*/} -eq $unique_count ]]; then
++ if [[ ${#DIRArr[@]} -eq $unique_count ]]; then
+ # no problems so do nothing
+ return
+ else
diff --git a/www-misc/profile-sync-daemon/files/openrc-path.patch b/www-misc/profile-sync-daemon/files/openrc-path.patch
new file mode 100644
index 000000000000..fc2d51b872d4
--- /dev/null
+++ b/www-misc/profile-sync-daemon/files/openrc-path.patch
@@ -0,0 +1,13 @@
+--- a/Makefile 2015-07-29 17:57:24.000000000 -0300
++++ b/Makefile 2017-02-02 15:08:06.720017266 -0300
+@@ -64,8 +64,8 @@
+
+ install-openrc:
+ $(Q)echo -e '\033[1;32mInstalling openrc files...\033[0m'
+- $(INSTALL_DIR) "$(DESTDIR)$(DOCDIR)"
+- $(INSTALL_SCRIPT) init/psd.openrc "$(DESTDIR)$(DOCDIR)/psd.openrc"
++ $(INSTALL_DIR) "$(DESTDIR)$(INITDIR_UPSTART)"
++ $(INSTALL_SCRIPT) init/psd.openrc "$(DESTDIR)$(INITDIR_UPSTART)/psd"
+ [ -f "$(DESTDIR)$(CONFDIR)/psd.conf" ] || $(INSTALL_DATA) common/psd.conf "$(DESTDIR)$(CONFDIR)/psd.conf"
+
+ install-systemd: