|
@@ -2,7 +2,7 @@
|
2
|
2
|
:=== Parameters ===
|
3
|
3
|
|
4
|
4
|
if ()==(%1%) (
|
5
|
|
- set ver=0.5k
|
|
5
|
+ set ver=0.5l
|
6
|
6
|
rem echo Please provide version
|
7
|
7
|
rem pause
|
8
|
8
|
rem GOTO:EOF
|
|
@@ -72,7 +72,7 @@ resolvers\youtuberesolver.py
|
72
|
72
|
picons\*.*
|
73
|
73
|
) do echo f | xcopy /y /q %%f %ipk_dir%data\%ext_dir%%prog%\%%f
|
74
|
74
|
|
75
|
|
-xcopy /y /q streamproxy %ipk_dir%data\etc\init.d\
|
|
75
|
+xcopy /y /q playstreamproxy %ipk_dir%data\etc\init.d\
|
76
|
76
|
|
77
|
77
|
:=== control file ===
|
78
|
78
|
mkdir %ipk_dir%CONTROL\
|
|
@@ -100,8 +100,8 @@ echo #!/bin/sh
|
100
|
100
|
:echo rm -rf %ext_dir2%%prog%/sources/*.py* ^> /dev/null 2^>^&1
|
101
|
101
|
:echo rm -rf %ext_dir2%%prog%/resolvers/*.py* ^> /dev/null 2^>^&1
|
102
|
102
|
:echo fi
|
103
|
|
-echo if [ -e /etc/init.d/streamproxy ]; then
|
104
|
|
-echo rm /etc/init.d/streamproxy ^> /dev/null 2^>^&1
|
|
103
|
+echo if [ -e /etc/init.d/playstreamproxy ]; then
|
|
104
|
+echo rm /etc/init.d/playstreamproxy ^> /dev/null 2^>^&1
|
105
|
105
|
echo fi
|
106
|
106
|
echo exit 0
|
107
|
107
|
) >%ipk_dir%CONTROL\preinst
|
|
@@ -110,10 +110,10 @@ dos2unix %ipk_dir%CONTROL\preinst
|
110
|
110
|
:=== postinst file ===
|
111
|
111
|
(
|
112
|
112
|
echo #!/bin/sh
|
113
|
|
-echo chmod +x /etc/init.d/streamproxy
|
114
|
|
-echo ln -s /etc/init.d/streamproxy /etc/rc4.d/S50streamproxy
|
115
|
|
-echo ln -s /etc/init.d/streamproxy /etc/rc3.d/S50streamproxy
|
116
|
|
-echo ln -s /etc/init.d/streamproxy /usr/bin/streamproxy
|
|
113
|
+echo chmod +x /etc/init.d/playstreamproxy
|
|
114
|
+echo ln -s /etc/init.d/playstreamproxy /etc/rc4.d/S50playstreamproxy
|
|
115
|
+echo ln -s /etc/init.d/playstreamproxy /etc/rc3.d/S50playstreamproxy
|
|
116
|
+echo ln -s /etc/init.d/playstreamproxy /usr/bin/playstreamproxy
|
117
|
117
|
echo exit 0
|
118
|
118
|
) >%ipk_dir%CONTROL\postinst
|
119
|
119
|
dos2unix %ipk_dir%CONTROL\postinst
|
|
@@ -121,18 +121,18 @@ dos2unix %ipk_dir%CONTROL\postinst
|
121
|
121
|
:=== postrm file ===
|
122
|
122
|
(
|
123
|
123
|
echo #!/bin/sh
|
124
|
|
-:echo if [ -e /etc/rc4.d/S50streamproxy ]; then
|
125
|
|
-echo rm /etc/rc4.d/S50streamproxy ^> /dev/null 2^>^&1
|
|
124
|
+:echo if [ -e /etc/rc4.d/S50playstreamproxy ]; then
|
|
125
|
+echo rm /etc/rc4.d/S50playstreamproxy ^> /dev/null 2^>^&1
|
126
|
126
|
:echo fi
|
127
|
127
|
echo #!/bin/sh
|
128
|
|
-:echo if [ -e /etc/rc3.d/S50streamproxy ]; then
|
129
|
|
-echo rm /etc/rc3.d/S50streamproxy ^> /dev/null 2^>^&1
|
|
128
|
+:echo if [ -e /etc/rc3.d/S50playstreamproxy ]; then
|
|
129
|
+echo rm /etc/rc3.d/S50playstreamproxy ^> /dev/null 2^>^&1
|
130
|
130
|
:echo fi
|
131
|
|
-:echo if [ -e /usr/bin/streamproxyy ]; then
|
132
|
|
-echo rm /usr/bin/streamproxy ^> /dev/null 2^>^&1
|
|
131
|
+:echo if [ -e /usr/bin/playstreamproxyy ]; then
|
|
132
|
+echo rm /usr/bin/playstreamproxy ^> /dev/null 2^>^&1
|
133
|
133
|
:echo fi
|
134
|
|
-echo if [ -e /etc/init.d/streamproxy ]; then
|
135
|
|
-echo rm /etc/init.d/streamproxy ^> /dev/null 2^>^&1
|
|
134
|
+echo if [ -e /etc/init.d/playstreamproxy ]; then
|
|
135
|
+echo rm /etc/init.d/playstreamproxy ^> /dev/null 2^>^&1
|
136
|
136
|
echo fi
|
137
|
137
|
echo exit 0
|
138
|
138
|
) >%ipk_dir%CONTROL\postrm
|