Browse Source

fixed bad rm

tags/v1.0.1^0
Robin Thoni 1 year 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
 chown -R unifi:unifi /usr/lib/unifi
47
 chown -R unifi:unifi /usr/lib/unifi
48
 rm -rf /var/lib/apt/lists/*
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
 mkdir -p ${DATADIR} ${LOGDIR}
51
 mkdir -p ${DATADIR} ${LOGDIR}
52
 ln -s ${DATADIR} ${BASEDIR}/data
52
 ln -s ${DATADIR} ${BASEDIR}/data
53
 ln -s ${RUNDIR} ${BASEDIR}/run
53
 ln -s ${RUNDIR} ${BASEDIR}/run

Loading…
Cancel
Save