File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# PhreakScript
4
4
# (C) 2021-2023 PhreakNet - https://portal.phreaknet.org and https://docs.phreaknet.org
5
- # v0.2.6 (2023-02-25 )
5
+ # v0.2.7 (2023-02-26 )
6
6
7
7
# Setup (as root):
8
8
# cd /usr/local/src
13
13
# phreaknet install
14
14
15
15
# # Begin Change Log:
16
+ # 2023-02-26 0.2.7 PhreakScript: fix install user (again)
16
17
# 2023-02-25 0.2.6 PhreakScript: fix install user
17
18
# 2023-02-13 0.2.5 Asterisk: remove merged patches
18
19
# 2023-01-28 0.2.4 PhreakScript: fix GDB installation detection
@@ -2483,11 +2484,11 @@ elif [ "$cmd" = "install" ]; then
2483
2484
sed -i ' s/;rungroup =/rungroup =/' $AST_CONFIG_DIR /asterisk.conf
2484
2485
if [ " ${AST_USER} " != " asterisk" ]; then # but if we're not actually running as "asterisk", change that:
2485
2486
sed -i " s/runuser = asterisk/runuser = $AST_USER /gw tmpuserchanges.txt" $AST_CONFIG_DIR /asterisk.conf
2486
- if [ ! -s changelog .txt ]; then
2487
+ if [ ! -s tmpuserchanges .txt ]; then
2487
2488
echoerr " runuser option not detected in asterisk.conf"
2488
2489
fi
2489
2490
sed -i " s/rungroup = asterisk/rungroup = $AST_USER /gw tmpuserchanges.txt" $AST_CONFIG_DIR /asterisk.conf
2490
- if [ ! -s changelog .txt ]; then
2491
+ if [ ! -s tmpuserchanges .txt ]; then
2491
2492
echoerr " rungroup option not detected in asterisk.conf"
2492
2493
fi
2493
2494
rm tmpuserchanges.txt
You can’t perform that action at this time.
0 commit comments