Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 119865 | Differences between
and this patch

Collapse All | Expand All

(-)porn-get.old (-1 / +1 lines)
Lines 11-17 Link Here
11
11
12
version="0.5.1"
12
version="0.5.1"
13
client=www.linuks.mine.nu/porn-get-$version
13
client=www.linuks.mine.nu/porn-get-$version
14
conf=porn.conf
14
conf=/etc/porn-get/porn.conf
15
RCFILE=porn-getrc
15
RCFILE=porn-getrc
16
DEBUG=${DEBUG:=0}
16
DEBUG=${DEBUG:=0}
17
17
(-)makefile.old (-10 / +11 lines)
Lines 1-13 Link Here
1
all:
1
all:
2
	
2
3
3
4
install:
4
install:
5
	mkdir -p /usr/local/bin
5
	mkdir -p ${D}usr/bin
6
	mkdir -p /usr/share/porn-get
6
	mkdir -p ${D}usr/share/porn-get
7
	mkdir -p /usr/share/doc/porn-get
7
	mkdir -p ${D}usr/share/doc/porn-get
8
	# ?? chmod 777 /usr/share/porn-get
8
	mkdir -p ${D}etc/porn-get/
9
	cp porn-get porn-cache /usr/local/bin
9
	chmod 777 ${D}usr/share/porn-get
10
	cp porn.conf /usr/share/porn-get
10
	cp porn-get porn-cache ${D}usr/bin
11
	cp changelog readme /usr/share/doc/porn-get
11
	cp porn.conf ${D}etc/porn-get/porn.conf
12
	cp porn.1* porn-get.1* porn-cache.1* /usr/share/man/man1
12
	cp changelog readme ${D}usr/share/doc/porn-get
13
	cp porn.conf.5* /usr/share/man/man5
13
	cp porn.1* porn-get.1* porn-cache.1* ${D}usr/share/man/man1
14
	cp porn.conf.5* ${D}usr/share/man/man5
(-)porn-cache.old (-4 / +4 lines)
Lines 5-15 Link Here
5
5
6
version="0.4.0"
6
version="0.4.0"
7
what=`basename $0 |sed s/-.*//`
7
what=`basename $0 |sed s/-.*//`
8
conf="${what}.conf"
8
conf="/etc/porn-get/porn.conf"
9
dir="./"
9
dir="./"
10
#dir="/usr/share/${what}-get/"
10
#dir="/usr/share/${what}-get/"
11
11
12
if [ ! -f ${dir}${conf} ]; then
12
if [ ! -f ${conf} ]; then
13
    echo "E: Opening ${dir}${conf} - ifstream::ifstream (2 No such file or directory)"
13
    echo "E: Opening ${dir}${conf} - ifstream::ifstream (2 No such file or directory)"
14
    echo
14
    echo
15
    exit 1
15
    exit 1
Lines 22-28 Link Here
22
	    echo
22
	    echo
23
	    exit 1
23
	    exit 1
24
	fi
24
	fi
25
	cat ${dir}${conf} |grep -v "^#" |grep -i ".*$2.*" |while read pkg url fileext; do echo $pkg $fileext; done
25
	cat ${conf} |grep -v "^#" |grep -i ".*$2.*" |while read pkg url fileext; do echo $pkg $fileext; done
26
    ;;
26
    ;;
27
    
27
    
28
    stats)
28
    stats)
Lines 31-37 Link Here
31
    ;;
31
    ;;
32
    
32
    
33
    pkgnames)
33
    pkgnames)
34
	cat ${dir}${conf} |grep -v "^#" |while read pkg url fileext; do echo $pkg $fileext; done
34
	cat ${conf} |grep -v "^#" |while read pkg url fileext; do echo $pkg $fileext; done
35
    ;;
35
    ;;
36
36
37
    *)
37
    *)

Return to bug 119865