summaryrefslogtreecommitdiff
path: root/network/airoscript/Makefile.patch
blob: 1bece7e7d0f9aaed7e10f18a8027fab9820441ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff -Naur airoscript.orig/Makefile airoscript.new/Makefile
--- airoscript.orig/Makefile	2009-02-05 12:41:57.000000000 +0000
+++ airoscript.new/Makefile	2009-03-13 03:43:04.000000000 +0000
@@ -7,14 +7,14 @@
 
 
 # Dirs
-PREF="/usr/local"
+PREF="/usr"
 BINMODE="755"
 SBINDIR=$(DESTDIR)$(PREF)"/sbin"
 ETCDIR=$(DESTDIR)"/etc"
 SHAREDIR=$(DESTDIR)$(PREF)"/share/airoscript"
-LOCALEDIR=$(DESTDIR)$(PREF)"/share/locale/"
-MANDIR=$(DESTDIR)$(PREF)"/share/man/man1"
-DOCDIR=$(DESTDIR)$(PREF)"/share/doc/airoscript"
+LOCALEDIR=$(DESTDIR)$(PREF)"/share/locale"
+MANDIR=$(DESTDIR)$(PREF)"/man/man1"
+DOCDIR=$(DESTDIR)$(PREF)"/doc/airoscript-2.1.1"
 
 install: airopdate
 	@echo -en "Installing files into:$(BINDIR) $(ETCDIR) $(SHAREDIR) $(DOCDIR) $(SBINDIR) "
@@ -23,7 +23,7 @@
 	@cp -r $(CURDIR)/src/themes/*					                   $(SHAREDIR)/themes/
 	@chown $(UID):$(GID) $(SHAREDIR)/themes/*
 	@chmod $(BINMODE) $(SHAREDIR)/themes/*.theme
-	@install -D -o $(UID) -g $(GID) -m $(BINMODE) $(CURDIR)/src/airoscript.conf        $(ETCDIR)/airoscript.conf
+	@install -D -o $(UID) -g $(GID) -m 644        $(CURDIR)/src/airoscript.conf        $(ETCDIR)/airoscript.conf
 	@install    -o $(UID) -g $(GID) -m $(BINMODE) $(CURDIR)/src/airopdate.sh           $(SHAREDIR)/airopdate
 	@install    -o $(UID) -g $(GID) -m $(BINMODE) $(CURDIR)/src/airoscfunc.sh          $(SHAREDIR)/airoscfunc.sh
 	@install    -o $(UID) -g $(GID) -m $(BINMODE) $(CURDIR)/src/airoscfunc_screen.sh   $(SHAREDIR)/airoscfunc_screen.sh