"Fossies" - the Fresh Open Source Software Archive

Member "backintime-1.2.0/common/backintime-askpass" (27 Apr 2019, 1166 Bytes) of package /linux/privat/backintime-1.2.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "backintime-askpass": 1.1.24_vs_1.2.0.

    1 #!/bin/sh
    2 
    3 #    Back In Time
    4 #    Copyright (C) 2008-2019 Oprea Dan, Bart de Koning, Richard Bailey, Germar Reitze
    5 #
    6 #    This program is free software; you can redistribute it and/or modify
    7 #    it under the terms of the GNU General Public License as published by
    8 #    the Free Software Foundation; either version 2 of the License, or
    9 #    (at your option) any later version.
   10 #
   11 #    This program is distributed in the hope that it will be useful,
   12 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
   13 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14 #    GNU General Public License for more details.
   15 #
   16 #    You should have received a copy of the GNU General Public License along
   17 #    with this program; if not, write to the Free Software Foundation, Inc.,
   18 #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
   19 
   20 #fixing gray window error
   21 #https://launchpad.net/bugs/1493020
   22 export QT_GRAPHICSSYSTEM="native"
   23 
   24 CUR_PATH="$(dirname $(readlink -m $0))"
   25 if [ -f "${CUR_PATH}/askpass.py" ]; then
   26     APP_PATH=$CUR_PATH
   27 else
   28     APP_PATH=$(readlink -m "${CUR_PATH}/../share/backintime/common")
   29 fi
   30 
   31 python3 -Es $APP_PATH/askpass.py "$@"