File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ source $HESTIA/conf/hestia.conf
4242# ----------------------------------------------------------#
4343
4444check_args ' 2' " $# " ' IP NETMASK [INTERFACE] [USER] [STATUS] [NAME] [NATED_IP] [HELO]'
45- is_format_valid ' ip' ' netmask' ' interface ' ' user' ' ip_status'
45+ is_format_valid ' ip' ' netmask' ' iface ' ' user' ' ip_status'
4646is_ip_free
4747is_object_valid ' user' ' USER' " $user "
4848is_object_unsuspended ' user' ' USER' " $user "
Original file line number Diff line number Diff line change @@ -962,7 +962,6 @@ is_format_valid() {
962962 host) is_object_format_valid " $arg " " $arg_name " ;;
963963 hour) is_cron_format_valid " $arg " $arg_name ;;
964964 id) is_int_format_valid " $arg " ' id' ;;
965- interface) is_interface_format_valid " $arg " ;;
966965 iface) is_interface_format_valid " $arg " ;;
967966 ip) is_ip_format_valid " $arg " ;;
968967 ip_name) is_domain_format_valid " $arg " ' IP name' ;;
Original file line number Diff line number Diff line change 107107
108108# Fix PostgreSQL repo
109109if [ -f /etc/apt/sources.list.d/postgresql.list ]; then
110- echo " [* ] Updating PostgreSQL repository..."
110+ echo " [ * ] Updating PostgreSQL repository..."
111111 sed -i ' s|deb https://apt.postgresql.org/pub/repos/apt/|deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/|g' /etc/apt/sources.list.d/postgresql.list
112112fi
You can’t perform that action at this time.
0 commit comments