diff options
author | Renato Botelho <renato@netgate.com> | 2016-03-18 09:02:43 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-03-18 09:02:43 -0300 |
commit | c471c102c889e70b0358287b60a66ab1b075422a (patch) | |
tree | fa9ce413cddc71427c248457f1aac23a5bf6631b | |
parent | 7076def1489447eb62a1403dc160063153cb88f7 (diff) | |
download | pfsense-c471c102c889e70b0358287b60a66ab1b075422a.zip pfsense-c471c102c889e70b0358287b60a66ab1b075422a.tar.gz |
Remove stray - from default-config flavor
-rw-r--r-- | tools/templates/core_pkg/default-config-serial/metadir/+INSTALL | 3 | ||||
-rw-r--r-- | tools/templates/core_pkg/default-config/metadir/+INSTALL | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/templates/core_pkg/default-config-serial/metadir/+INSTALL b/tools/templates/core_pkg/default-config-serial/metadir/+INSTALL index 537e193..ce7b853 100644 --- a/tools/templates/core_pkg/default-config-serial/metadir/+INSTALL +++ b/tools/templates/core_pkg/default-config-serial/metadir/+INSTALL @@ -16,6 +16,7 @@ if [ ! -d /cf/conf/backup ]; then mkdir /cf/conf/backup fi -echo "%%FLAVOR%%" > /etc/default-config-flavor +FLAVOR="%%FLAVOR%%" +echo ${FLAVOR##-} > /etc/default-config-flavor exit 0 diff --git a/tools/templates/core_pkg/default-config/metadir/+INSTALL b/tools/templates/core_pkg/default-config/metadir/+INSTALL index 537e193..ce7b853 100644 --- a/tools/templates/core_pkg/default-config/metadir/+INSTALL +++ b/tools/templates/core_pkg/default-config/metadir/+INSTALL @@ -16,6 +16,7 @@ if [ ! -d /cf/conf/backup ]; then mkdir /cf/conf/backup fi -echo "%%FLAVOR%%" > /etc/default-config-flavor +FLAVOR="%%FLAVOR%%" +echo ${FLAVOR##-} > /etc/default-config-flavor exit 0 |