fixed some inconsistency with var names
This commit is contained in:
parent
30dba1b639
commit
a36b21bbef
@ -1,9 +1,9 @@
|
|||||||
DEVICE=$1
|
LOC=$1
|
||||||
USER=$2
|
USER=$2
|
||||||
|
|
||||||
7z x $1.zip -o./files/$2/
|
7z x $LOC.zip -o./files/temp/$USER/
|
||||||
|
|
||||||
mv ./files/$2/* /home/$2/
|
mv ./files/temp/$USER/* /home/$USER/
|
||||||
|
|
||||||
chown -R $USER /home/$USER
|
chown -R $USER /home/$USER
|
||||||
chgrp -R $USER /home/$USER
|
chgrp -R $USER /home/$USER
|
||||||
|
Loading…
Reference in New Issue
Block a user