summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-24 17:37:57 +0100
committerGitHub <noreply@github.com>2023-02-24 17:37:57 +0100
commit73ceaaafa9e7f14c25ccafe0789ba89933ab7b14 (patch)
tree8c362e69deb333230226a48e23fa97a73910d455 /debian/rules
parent42e758dde8e084ebb336f995b9b0af3bf4a82d96 (diff)
parentd3fa059264bff04c5ea8ee3e03dab4d5cdf6e83d (diff)
downloadvyos-1x-73ceaaafa9e7f14c25ccafe0789ba89933ab7b14.tar.gz
vyos-1x-73ceaaafa9e7f14c25ccafe0789ba89933ab7b14.zip
Merge pull request #1848 from sever-sever/T5029
T5029: Change nginx default root directory
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 5a58aeeb6..55e02fae6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@ VYOS_DATA_DIR := usr/share/vyos
VYOS_CFG_TMPL_DIR := opt/vyatta/share/vyatta-cfg/templates
VYOS_OP_TMPL_DIR := opt/vyatta/share/vyatta-op/templates
VYOS_MIBS_DIR := usr/share/snmp/mibs
+VYOS_LOCALUI_DIR := srv/localui
MIGRATION_SCRIPTS_DIR := opt/vyatta/etc/config-migrate/migrate
SYSTEM_SCRIPTS_DIR := usr/libexec/vyos/system
@@ -89,6 +90,9 @@ override_dh_auto_install:
mkdir -p $(DIR)/$(VYOS_DATA_DIR)
cp -r data/* $(DIR)/$(VYOS_DATA_DIR)
+ # Create localui dir
+ mkdir -p $(DIR)/$(VYOS_LOCALUI_DIR)
+
# Install SNMP MIBs
mkdir -p $(DIR)/$(VYOS_MIBS_DIR)
cp -d mibs/* $(DIR)/$(VYOS_MIBS_DIR)