From fe1765b18f43b58b978e11f0ec372ba33cdd41bf Mon Sep 17 00:00:00 2001 From: dimitris Date: Mon, 23 Apr 2018 01:57:04 +0300 Subject: [PATCH] obsolete file deletions, update README for mint version --- README.md | 2 ++ lmde2_skype_msfonts.sh | 31 ----------------------- vistafonts-installer | 57 ------------------------------------------ 3 files changed, 2 insertions(+), 88 deletions(-) delete mode 100644 lmde2_skype_msfonts.sh delete mode 100644 vistafonts-installer diff --git a/README.md b/README.md index b885fff..a9cb75f 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,5 @@ $ wget https://framagit.org/stinpriza/linuxmint-priza/raw/master/linuxmint.sh $ sh linuxmint.sh you'll be asked for sudo pass (needed for system updates, etc). + +ps. latest script tested/testing with Linux Mint 18.3 diff --git a/lmde2_skype_msfonts.sh b/lmde2_skype_msfonts.sh deleted file mode 100644 index 3d55011..0000000 --- a/lmde2_skype_msfonts.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -wget https://framagit.org/stinpriza/lmde2-priza/raw/master/lmde2.sh -sh lmde2.sh - -# calibri fonts -echo 'installing calibri fonts...' -mkdir ~/.fonts -wget https://framagit.org/stinpriza/lmde2-priza/raw/master/vistafonts-installer -chmod +x vistafonts-installer -sh ./vistafonts-installer -rm -f vistafonts-installer - -#skype install -echo 'installing skype...' -sudo dpkg --add-architecture i386 -sudo apt-get -qq update -sudo apt-get -y -qq install libc6:i386 libqt4-dbus:i386 libqt4-network:i386 libqt4-xml:i386 libqtcore4:i386 libqtgui4:i386 libqtwebkit4:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxss1:i386 libxv1:i386 libssl1.0.0:i386 libpulse0:i386 libasound2-plugins:i386 -wget -O skype-install.deb http://www.skype.com/go/getskype-linux-deb -sudo dpkg -i skype-install.deb -sudo apt-get -qq -f install -y - -# package cleanup -echo 'done, cleaning system...' -sudo apt-get purge -y -qq `deborphan` -sudo apt-get autoremove -y -qq -sudo apt-get clean -qq - -echo 'all done, reboot now!' - -exit 0 diff --git a/vistafonts-installer b/vistafonts-installer deleted file mode 100644 index 66c62fb..0000000 --- a/vistafonts-installer +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# Copyright (c) 2007 Aristotle Pagaltzis -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. - -set -e - -exists() { which "$1" &> /dev/null ; } - -if ! [ -d ~/.fonts ] ; then - exec 2>&1 - echo 'There is no .fonts directory in your home.' - echo 'Is fontconfig set up for privately installed fonts?' - exit 1 -fi - -# split up to keep the download command short -DL_HOST=download.microsoft.com -DL_PATH=download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26 -ARCHIVE=PowerPointViewer.exe -URL="http://$DL_HOST/$DL_PATH/$ARCHIVE" - -if ! [ -e "$ARCHIVE" ] ; then - if exists curl ; then curl -O "$URL" - elif exists wget ; then wget "$URL" - elif exists fetch ; then fetch "$URL" - fi -fi - -TMPDIR=`mktemp -d` -trap 'rm -rf "$TMPDIR"' EXIT INT QUIT TERM - -cabextract -L -F ppviewer.cab -d "$TMPDIR" "$ARCHIVE" - -cabextract -L -F '*.TT[FC]' -d ~/.fonts "$TMPDIR/ppviewer.cab" - -( cd ~/.fonts && mv cambria.ttc cambria.ttf && chmod 600 \ - calibri{,b,i,z}.ttf cambria{,b,i,z}.ttf candara{,b,i,z}.ttf \ - consola{,b,i,z}.ttf constan{,b,i,z}.ttf corbel{,b,i,z}.ttf ) - -fc-cache -fv ~/.fonts -- 2.18.1