You are here

/etc/ag/cp/new-lang.sh

Submitted by Alan Mels on Tue, 10/30/2018 - 14:28
0)
cd /etc/ag/cp/
cat > new-etc.sh << 'EOF'
#!/bin/sh
# This script generates a compressed archive of /etc/webmin/authentic-theme and /etc/webmin/custom directories
# and also all language files.
 
mv etc.tar.gz etc.tar.gz-compare-and-delete
locate custom-lang | tar -cvf etc.tar -T -
tar -uvf etc.tar /etc/webmin/authentic-theme /etc/webmin/custom /etc/webmin/status/services /etc/webmin/webmin.descs
gzip etc.tar
clear
ls -l
EOF
chmod 755 new-etc.sh

1) file=/etc/ag/cp/new-lang.sh

cat > /etc/ag/cp/new-lang.sh << 'EOT'
EOT
2)
chmod 755 new-lang.sh
 
cat > READ.ME << 'EOF'
Update the array in /etc/ag/cp/new-lang.sh and run the script if new UI terms need to be translated.
EOF
 
/etc/ag/cp/new-etc.sh