Browse Source

fixed bad rm

tags/v1.0.1^0
Robin Thoni 6 months ago
parent
commit
2d8eee162c
Signed by: Robin THONI <robin@rthoni.com> GPG Key ID: 4E09DEF46B99E61E
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      unifi-controller/docker-build.sh

+ 1
- 1
unifi-controller/docker-build.sh View File

@@ -47,7 +47,7 @@ rm -f ./unifi.deb
47 47
 chown -R unifi:unifi /usr/lib/unifi
48 48
 rm -rf /var/lib/apt/lists/*
49 49
 
50
-rm -rf ${ODATADIR} ${OLOGDIR} ${BASEDIR}/*
50
+rm -rf ${ODATADIR} ${OLOGDIR} ${BASEDIR}/{data,run,logs}
51 51
 mkdir -p ${DATADIR} ${LOGDIR}
52 52
 ln -s ${DATADIR} ${BASEDIR}/data
53 53
 ln -s ${RUNDIR} ${BASEDIR}/run

Loading…
Cancel
Save