Browse Source

rename hook

Joachim M. Giæver 1 year ago
parent
commit
2c64feb95a
1 changed files with 0 additions and 12 deletions
  1. 0 12
      src/hooks/connect-plug-store-dir

+ 0 - 12
src/hooks/connect-plug-store-dir

@@ -1,12 +0,0 @@
-#!/usr/bin/env bash
-
-ZUI_STORE="${SNAP_COMMON}/zui-store"
-
-if [ ! -d "${ZUI_STORE}" ]; then
-	echo "Missing store-dir for ZUI. Failed, exiting...." >&2
-	exit 1
-fi
-
-if [ $(ls "${ZUI_STORE}" | wc -l) -eq 0 ]; then
-	cpy_2_zui && sudo snap stop "${SNAP_NAME}" && sudo snap disable "${SNAP_NAME}"
-fi