add pgp folder support, increase version
This commit is contained in:
parent
9eb313d862
commit
9aea40e3d1
4
manage
4
manage
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SC_VERSION=1.2.0
|
SC_VERSION=1.2.1
|
||||||
SC_CODENAME="bionic"
|
SC_CODENAME="bionic"
|
||||||
PORT=5566
|
PORT=5566
|
||||||
SETUP_FILE=".setup_complete"
|
SETUP_FILE=".setup_complete"
|
||||||
@ -75,7 +75,7 @@ function check_dirs() {
|
|||||||
local deleted_count=0
|
local deleted_count=0
|
||||||
|
|
||||||
if [ "$action" == "create" ]; then
|
if [ "$action" == "create" ]; then
|
||||||
for dir in "./public" "./public/js" "./public/css" "./src" "./src/css" "./src/img" "./src/js"; do
|
for dir in "./public" "./public/js" "./public/css" "./public/pgp" "./src" "./src/css" "./src/img" "./src/js" "./src/pgp"; do
|
||||||
if [ ! -d "$dir" ]; then
|
if [ ! -d "$dir" ]; then
|
||||||
echo -e "${COLOR_BLUE}Creating $dir...${COLOR_RESET}"
|
echo -e "${COLOR_BLUE}Creating $dir...${COLOR_RESET}"
|
||||||
mkdir -p "$dir"
|
mkdir -p "$dir"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user