Bob Mottram 9 년 전
부모
커밋
bec8a21ebc
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5
    4
      src/freedombone-controlpanel

+ 5
- 4
src/freedombone-controlpanel 파일 보기

1727
     done
1727
     done
1728
 }
1728
 }
1729
 
1729
 
1730
+if [[ $USER != 'root' ]]; then
1731
+    # show the user version of the control panel
1732
+    exit $(freedombone-controlpanel-user)
1733
+fi
1734
+
1730
 if [ ! -f $COMPLETION_FILE ]; then
1735
 if [ ! -f $COMPLETION_FILE ]; then
1731
     echo $'This command should only be run on an installed Freedombone system'
1736
     echo $'This command should only be run on an installed Freedombone system'
1732
     exit 1
1737
     exit 1
1733
 fi
1738
 fi
1734
 
1739
 
1735
-if [[ $USER != 'root' ]]; then
1736
-    # show the user version of the control panel
1737
-    exit $(freedombone-controlpanel-user)
1738
-fi
1739
 ADMIN_USER=$(cat $COMPLETION_FILE | grep "Admin user" | awk -F ':' '{print $2}')
1740
 ADMIN_USER=$(cat $COMPLETION_FILE | grep "Admin user" | awk -F ':' '{print $2}')
1740
 read_repo_servers
1741
 read_repo_servers
1741
 menu_top_level
1742
 menu_top_level