]> git.proxmox.com Git - pve-manager.git/blobdiff - debian/postinst
postinst: move dir creation to helper
[pve-manager.git] / debian / postinst
index d3ca13be2101c7e1d54aec05ad51b63dd63bbfcc..c97c4fdbe20a79d196f235a70eab1557d20c733a 100755 (executable)
@@ -81,13 +81,8 @@ EOF
 }
 
 update_ceph_conf() {
-    CEPH_CONF_DIR='/etc/pve/ceph'
     UNIT='ceph-crash.service'
 
-    if test ! -d "${CEPH_CONF_DIR}"; then
-        mkdir -p "${CEPH_CONF_DIR}"
-    fi
-
     # Don't fail in case user has "exotic" configuration where RADOS
     # isn't available on all nodes for some reason
     /usr/share/pve-manager/helpers/pve-init-ceph-crash || true