Debian Codegraph @

lib/adsh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 # apt-dater - terminal-based remote package update manager
4 #
5 # Authors:
6 # Thomas Liske <[email protected]>
7 #
8 # Copyright Holder:
9 # 2008-2015 (C) IBH IT-Service GmbH [https://www.ibh.de/apt-dater/]
10 #
11 # License:
12 # This program is free software; you can redistribute it and/or modify
13 # it under the terms of the GNU General Public License as published by
14 # the Free Software Foundation; either version 2 of the License, or
15 # (at your option) any later version.
16 #
17 # This program is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU General Public License for more details.
21 #
22 # You should have received a copy of the GNU General Public License
23 # along with this package; if not, write to the Free Software
24 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 #
26
27 argv=$@
28 sport=0
29 while getopts :-1246AaCfgKkMNnqsTtVvXxYyb:c:D:E:e:F:I:i:L:l:m:O:o:p:Q:R:S:W:w: OPT; do
30 case $OPT in
31 -p)
32 sport=$OPTARG
33 ;;
34 esac
35 done
36
37 shift $((OPTIND-1))
38 shost="$1"
39
40 exec apt-dater -s "$shost:$sport" $argv