@@ -57,7 +57,7 @@ install_uv() {
5757 fi
5858
5959 print_step " Installing uv..."
60- if curl -fsSL " $UV_INSTALL_URL " | sh; then
60+ if curl -fsSL " $UV_INSTALL_URL " | sh < /dev/null ; then
6161 print_success " uv successfully installed"
6262 export PATH=" $HOME /.cargo/bin:$PATH "
6363 return 0
@@ -72,16 +72,16 @@ setup_repository() {
7272 print_info " Repository already exists at $INSTALL_DIR "
7373 read -p " $( echo -e ${YELLOW} Update scripts? [Y/n]:${NC} ) " -n 1 -r
7474 echo
75-
75+
7676 if [[ $REPLY =~ ^[Nn]$ ]]; then
7777 print_info " Skipping update, using existing version"
7878 return 0
7979 fi
80-
80+
8181 print_step " Updating repository..."
8282 cd " $INSTALL_DIR "
83-
84- if git pull origin master; then
83+
84+ if git pull origin master < /dev/null ; then
8585 print_success " Repository updated successfully"
8686 return 0
8787 else
@@ -90,13 +90,13 @@ setup_repository() {
9090 fi
9191 else
9292 print_step " Cloning repository..."
93-
93+
9494 if ! check_command git; then
9595 print_error " Git is not installed. Please install git and try again"
9696 exit 1
9797 fi
98-
99- if git clone " $REPO_URL " " $INSTALL_DIR " ; then
98+
99+ if git clone " $REPO_URL " " $INSTALL_DIR " < /dev/null ; then
100100 print_success " Repository cloned to $INSTALL_DIR "
101101 return 0
102102 else
@@ -108,10 +108,10 @@ setup_repository() {
108108
109109install_dependencies () {
110110 print_step " Installing dependencies..."
111-
111+
112112 cd " $INSTALL_DIR "
113-
114- if uv sync; then
113+
114+ if uv sync < /dev/null ; then
115115 print_success " Dependencies installed successfully"
116116 return 0
117117 else
@@ -122,9 +122,9 @@ install_dependencies() {
122122
123123run_script () {
124124 print_step " Running script..."
125-
125+
126126 cd " $INSTALL_DIR "
127-
127+
128128 if uv run main.py; then
129129 print_success " Script executed successfully"
130130 return 0
@@ -201,4 +201,4 @@ main() {
201201 fi
202202}
203203
204- main
204+ main
0 commit comments