Browse code

Deployment, finally?

Jaidyn Lev authored on 2019-01-08 06:48:48
Showing 4 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 
3
-alias mlsh=/htdocs/libertybsd.net/res/bin/ml.sh
4
-footer="$(cat /htdocs/libertybsd.net/res/footer.html)"
3
+alias mlsh=/htdocs/libertybsd.net/http/res/bin/ml.sh
4
+footer="$(cat /htdocs/libertybsd.net/http/res/footer.html)"
5 5
 lang="$1"
6 6
 
7 7
 echo "$footer" \
... ...
@@ -1,7 +1,7 @@
1 1
 #!/bin/sh
2 2
 
3
-alias mlsh=/htdocs/libertybsd.net/res/bin/ml.sh
4
-header="$(cat /htdocs/libertybsd.net/res/header.html)"
3
+alias mlsh=/htdocs/libertybsd.net/http/res/bin/ml.sh
4
+header="$(cat /htdocs/libertybsd.net/http/res/header.html)"
5 5
 lang="$1"
6 6
 title_raw="$2"
7 7
 title="$(mlsh $lang $title_raw)"
... ...
@@ -9,8 +9,9 @@
9 9
 
10 10
 
11 11
 case "$1" in
12
-	"en") . /htdocs/libertybsd.net/res/lang/en.sh ;;
13
-	"eo") . /htdocs/libertybsd.net/res/lang/eo.sh ;;
12
+	"en") . /htdocs/libertybsd.net/http/res/lang/en.sh ;;
13
+	"es") . /htdocs/libertybsd.net/http/res/lang/en.sh ;;
14
+	"eo") . /htdocs/libertybsd.net/http/res/lang/eo.sh ;;
14 15
 esac
15 16
 
16 17
 var=$2
... ...
@@ -18,7 +18,7 @@
18 18
 
19 19
 <head>
20 20
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
21
-	<link rel="stylesheet" type="text/css" href="/new/res/style.css">
21
+	<link rel="stylesheet" type="text/css" href="/res/style.css">
22 22
 	<meta charset="UTF-8">
23 23
 	<title> TT </title>
24 24
 </head>