Commit 5d0a235b authored by remy's avatar remy
Browse files

updating gitlab regexp

parent 241874c2
......@@ -73,7 +73,7 @@ function remove_dyn_elems {
gitlab_regexp_arr=("authenticity_token" "csrf-token")
typesetter_regexp_arr=("wgBackendResponseTime" "wgRequestId" "time" "[0-9]{1,3}\.[0-9]{1,2}+%\s+[0-9]{1}\.[0-9]{3}")
nextcloud_regexp_arr=("token" "nonce")
gitbook_regexp='data-revision'
gitbook_regexp_arr=("data-revision" "mtime")
hesk_rule='165d'
while read name website type product plugins activity owner
......@@ -122,7 +122,10 @@ function remove_dyn_elems {
done
;;
"gitbook" )
sed -ri -e /$gitbook_regexp/d $name.index.html
for gitbook_regexp in ${gitbook_regexp_arr[@]}
do
sed -ri -e /$gitbook_regexp/d $name.index.html
done
;;
"hesk" )
sed -i -e ${hesk_rule} $name.index.html
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment