Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  1. chmod 777 -R $pdir
  2. if [ "$skin" = 1 ];then
  3. skindir="$pdir/cgi/dk/"
  4.  
  5. elif [ "$skin" = 2 ];then
  6. skindir="$pdir/cgi/mt/"
  7.  
  8. else
  9. skindir="$pdir/cgi/default/"
  10. fi
  11.  
  12.  
  13. #statt
  14.  
  15.  
  16. chmod 777 -R $pdir
  17. if [ "$skin" = 1 ];then
  18. cp -l $pdir/cgi/dk/* $pdir/cgi
  19.  
  20. elif [ "$skin" = 2 ];then
  21. cp -l $pdir/cgi/mt/* $pdir/cgi
  22.  
  23. else
  24. cp -l $pdir/cgi/default/* $pdir/cgi
  25. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement