Do not install files outside fake root.
This commit is contained in:
parent
c18bc612ae
commit
f2dc8c69e6
28
x11/afterstep/patches/patch-Makefile_in
Normal file
28
x11/afterstep/patches/patch-Makefile_in
Normal file
@ -0,0 +1,28 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.1 2002/04/08 01:02:16 naddy Exp $
|
||||
--- Makefile.in.orig Mon Apr 8 02:56:05 2002
|
||||
+++ Makefile.in Mon Apr 8 02:57:29 2002
|
||||
@@ -35,24 +35,6 @@ install.script:
|
||||
for I in ${subdirs}; do (cd $$I; ${MAKE} install.script || exit 1); done
|
||||
|
||||
install.data:
|
||||
- @if [ -d /usr/local/share/gnome/wm-properties ] ; then \
|
||||
- if [ -w /usr/local/share/gnome/wm-properties ] ; then \
|
||||
- echo $(CP) AfterStep.desktop /usr/local/share/gnome/wm-properties/; \
|
||||
- $(CP) AfterStep.desktop /usr/local/share/gnome/wm-properties/; \
|
||||
- else \
|
||||
- echo "/usr/local/share/gnome/wm-properties exists but is not writable."; \
|
||||
- echo "If you want AfterStep to appear in your Gnome menu, please install as root."; \
|
||||
- fi \
|
||||
- fi
|
||||
- @if [ -d /usr/share/gnome/wm-properties ] ; then \
|
||||
- if [ -w /usr/share/gnome/wm-properties ] ; then \
|
||||
- echo $(CP) AfterStep.desktop /usr/share/gnome/wm-properties/; \
|
||||
- $(CP) AfterStep.desktop /usr/share/gnome/wm-properties/; \
|
||||
- else \
|
||||
- echo "/usr/share/gnome/wm-properties exists but is not writable."; \
|
||||
- echo "If you want AfterStep to appear in your Gnome menu, please install as root."; \
|
||||
- fi \
|
||||
- fi
|
||||
@if [ -d $(AFTER_SHAREDIR) ] ; then \
|
||||
echo $(RMF) -r $(AFTER_SHAREDIR)_old; \
|
||||
echo $(MV) $(AFTER_SHAREDIR) $(AFTER_SHAREDIR)_old; \
|
Loading…
x
Reference in New Issue
Block a user