diff --git a/build.sh b/build.sh index 68492fd..c87a120 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ if [ -d unpack ]; then sudo rm -rf unpack fi -version="3.0.5" +version="3.0.6" mkdir -p unpack/DEBIAN diff --git a/usr/bin/hosts-switch b/usr/bin/hosts-switch index 4bb860a..b966ad3 100755 --- a/usr/bin/hosts-switch +++ b/usr/bin/hosts-switch @@ -1,3 +1,3 @@ #!/bin/bash -/usr/lib/hosts-switch/hosts-switch.py \ No newline at end of file +/usr/share/hosts-switch/hosts-switch.py \ No newline at end of file diff --git a/usr/lib/hosts-switch/_window.py b/usr/share/hosts-switch/_window.py similarity index 100% rename from usr/lib/hosts-switch/_window.py rename to usr/share/hosts-switch/_window.py diff --git a/usr/lib/hosts-switch/hosts-switch.py b/usr/share/hosts-switch/hosts-switch.py similarity index 100% rename from usr/lib/hosts-switch/hosts-switch.py rename to usr/share/hosts-switch/hosts-switch.py diff --git a/usr/lib/hosts-switch/webapp/app.js b/usr/share/hosts-switch/webapp/app.js similarity index 100% rename from usr/lib/hosts-switch/webapp/app.js rename to usr/share/hosts-switch/webapp/app.js diff --git a/usr/lib/hosts-switch/webapp/components/home.js b/usr/share/hosts-switch/webapp/components/home.js similarity index 100% rename from usr/lib/hosts-switch/webapp/components/home.js rename to usr/share/hosts-switch/webapp/components/home.js diff --git a/usr/lib/hosts-switch/webapp/components/permission.js b/usr/share/hosts-switch/webapp/components/permission.js similarity index 100% rename from usr/lib/hosts-switch/webapp/components/permission.js rename to usr/share/hosts-switch/webapp/components/permission.js diff --git a/usr/lib/hosts-switch/webapp/components/records.js b/usr/share/hosts-switch/webapp/components/records.js similarity index 100% rename from usr/lib/hosts-switch/webapp/components/records.js rename to usr/share/hosts-switch/webapp/components/records.js diff --git a/usr/lib/hosts-switch/webapp/components/sidebar.js b/usr/share/hosts-switch/webapp/components/sidebar.js similarity index 100% rename from usr/lib/hosts-switch/webapp/components/sidebar.js rename to usr/share/hosts-switch/webapp/components/sidebar.js diff --git a/usr/lib/hosts-switch/webapp/css/reset.css b/usr/share/hosts-switch/webapp/css/reset.css similarity index 100% rename from usr/lib/hosts-switch/webapp/css/reset.css rename to usr/share/hosts-switch/webapp/css/reset.css diff --git a/usr/lib/hosts-switch/webapp/index.html b/usr/share/hosts-switch/webapp/index.html similarity index 100% rename from usr/lib/hosts-switch/webapp/index.html rename to usr/share/hosts-switch/webapp/index.html diff --git a/usr/lib/hosts-switch/webapp/lib/crypto.js b/usr/share/hosts-switch/webapp/lib/crypto.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/crypto.js rename to usr/share/hosts-switch/webapp/lib/crypto.js diff --git a/usr/lib/hosts-switch/webapp/lib/es.shim.js b/usr/share/hosts-switch/webapp/lib/es.shim.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/es.shim.js rename to usr/share/hosts-switch/webapp/lib/es.shim.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/card/index.js b/usr/share/hosts-switch/webapp/lib/ui/card/index.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/card/index.js rename to usr/share/hosts-switch/webapp/lib/ui/card/index.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/form/button.js b/usr/share/hosts-switch/webapp/lib/ui/form/button.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/form/button.js rename to usr/share/hosts-switch/webapp/lib/ui/form/button.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/form/input.js b/usr/share/hosts-switch/webapp/lib/ui/form/input.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/form/input.js rename to usr/share/hosts-switch/webapp/lib/ui/form/input.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/form/link.js b/usr/share/hosts-switch/webapp/lib/ui/form/link.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/form/link.js rename to usr/share/hosts-switch/webapp/lib/ui/form/link.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/form/switch.js b/usr/share/hosts-switch/webapp/lib/ui/form/switch.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/form/switch.js rename to usr/share/hosts-switch/webapp/lib/ui/form/switch.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/icon/index.js b/usr/share/hosts-switch/webapp/lib/ui/icon/index.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/icon/index.js rename to usr/share/hosts-switch/webapp/lib/ui/icon/index.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/icon/svg.js b/usr/share/hosts-switch/webapp/lib/ui/icon/svg.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/icon/svg.js rename to usr/share/hosts-switch/webapp/lib/ui/icon/svg.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/layer/index.js b/usr/share/hosts-switch/webapp/lib/ui/layer/index.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/layer/index.js rename to usr/share/hosts-switch/webapp/lib/ui/layer/index.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/scroll/index.js b/usr/share/hosts-switch/webapp/lib/ui/scroll/index.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/scroll/index.js rename to usr/share/hosts-switch/webapp/lib/ui/scroll/index.js diff --git a/usr/lib/hosts-switch/webapp/lib/ui/space/index.js b/usr/share/hosts-switch/webapp/lib/ui/space/index.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/ui/space/index.js rename to usr/share/hosts-switch/webapp/lib/ui/space/index.js diff --git a/usr/lib/hosts-switch/webapp/lib/wkit.js b/usr/share/hosts-switch/webapp/lib/wkit.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/wkit.js rename to usr/share/hosts-switch/webapp/lib/wkit.js diff --git a/usr/lib/hosts-switch/webapp/lib/wkitd.js b/usr/share/hosts-switch/webapp/lib/wkitd.js similarity index 100% rename from usr/lib/hosts-switch/webapp/lib/wkitd.js rename to usr/share/hosts-switch/webapp/lib/wkitd.js diff --git a/usr/lib/hosts-switch/webapp/store.js b/usr/share/hosts-switch/webapp/store.js similarity index 100% rename from usr/lib/hosts-switch/webapp/store.js rename to usr/share/hosts-switch/webapp/store.js diff --git a/usr/lib/hosts-switch/webapp/utils/index.js b/usr/share/hosts-switch/webapp/utils/index.js similarity index 100% rename from usr/lib/hosts-switch/webapp/utils/index.js rename to usr/share/hosts-switch/webapp/utils/index.js