Skip to content
Snippets Groups Projects
Commit b0979eb3 authored by Berk Onat's avatar Berk Onat
Browse files

Fixed backup files for reinstall.

parent 43fffdbd
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,9 @@ do ...@@ -38,9 +38,9 @@ do
#firstline=`cat $file | head -n 1` #firstline=`cat $file | head -n 1`
#sed -i.bak '1a\'$'\n'${firstline}$'\n' $file #sed -i.bak '1a\'$'\n'${firstline}$'\n' $file
sed -i.bak '1i\'$'\n''#endif'$'\n' $file sed -i.bak '1i\'$'\n''#endif'$'\n' $file
sed -i.bak '1i\'$'\n''char msgstr'${fcount}'[512], msgout'${fcount}'[512], msgerr'${fcount}'[512];'$'\n' $file sed -i "" '1i\'$'\n''char msgstr'${fcount}'[512], msgout'${fcount}'[512], msgerr'${fcount}'[512];'$'\n' $file
sed -i.bak '1i\'$'\n''#define SILENCE_'${fcount}'_PLUGIN 1'$'\n' $file sed -i "" '1i\'$'\n''#define SILENCE_'${fcount}'_PLUGIN 1'$'\n' $file
sed -i.bak '1i\'$'\n''#ifndef SILENCE_'${fcount}'_PLUGIN'$'\n' $file sed -i "" '1i\'$'\n''#ifndef SILENCE_'${fcount}'_PLUGIN'$'\n' $file
#sed -i.bak $incline'a\'$'\n''#define SILENCE_PLUGINS_'${fcount}' 1'$'\n' $file #sed -i.bak $incline'a\'$'\n''#define SILENCE_PLUGINS_'${fcount}' 1'$'\n' $file
#sed -i.bak $incline'a\'$'\n''#ifndef SILENCE_PLUGINS_'${fcount}''$'\n' $file #sed -i.bak $incline'a\'$'\n''#ifndef SILENCE_PLUGINS_'${fcount}''$'\n' $file
singlelines1=`cat $file | grep -n -e "$pattern1" | grep -v "^--" | awk -F":" '{print $1}'` singlelines1=`cat $file | grep -n -e "$pattern1" | grep -v "^--" | awk -F":" '{print $1}'`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment