line |
true |
false |
branch |
63
|
0 |
0 |
unless is_raspberry() |
77
|
0 |
0 |
if ($gid) { } |
78
|
0 |
0 |
if system "groupadd -f -r -g $gid $gname" |
80
|
0 |
0 |
if system "groupadd -f -r $gname" |
86
|
0 |
0 |
if ($gid) { } |
87
|
0 |
0 |
if system "groupadd -f -g $gid $gname" |
89
|
0 |
0 |
if system "groupadd -f $gname" |
95
|
0 |
0 |
if system "gpasswd -a $uname $gname" |
100
|
0 |
0 |
if system "gpasswd -d $uname $gname" |
105
|
0 |
0 |
unless HiPi::is_raspberry_pi() |
110
|
0 |
0 |
if ($?) |
119
|
0 |
0 |
unless HiPi::is_raspberry_pi() |
120
|
0 |
0 |
$append ? : |
123
|
0 |
0 |
if -d $filepath |
126
|
0 |
0 |
if (-f $filepath) { } |
127
|
0 |
0 |
-w $filepath ? : |
131
|
0 |
0 |
unless (-d $dir) |
134
|
0 |
0 |
-w $dir ? : |
140
|
0 |
0 |
if ($canwrite) { } |
141
|
0 |
0 |
if system $command |
175
|
0 |
0 |
unless HiPi::is_raspberry_pi() |
182
|
0 |
0 |
$groupname ? : |
183
|
0 |
0 |
if ($targetuid > 0 and $targetgid > 0) { } |
188
|
0 |
0 |
unless ($> == $targetuid and $< == $targetuid and $) == $targetgid and $( == $targetgid) |