Skip to content

Commit 768335f

Browse files
committed
debianized
1 parent 5541363 commit 768335f

21 files changed

+137
-81
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.gitattributes export-ignore
2+
.gitignore export-ignore

.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.initbatch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22

3-
source semyr.sh
3+
source /usr/local/share/fks/semyr.sh
44

55
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6-
source $DIR/config
6+
source /etc/fks/config
77

88

99
PROBLEMS_DIR=problems

.initleaflet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4-
source $DIR/config
4+
source /etc/fks/config
55

66
TEMPLATE_PATH=$(dirname $0)/../templates
77
PROBLEMS_DIR=problems

DEBIAN/conffiles

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
etc/fks/config

DEBIAN/control.tpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Package: fks-scripts
2+
Maintainer: FKS TeX group <tex@fykos.cz>
3+
Architecture: all
4+
Depends: sed, git, openssh-client, wget, texlive-binaries, perl
5+
Recommends: dpkg, fakeroot, graphicsmagick-imagemagick-compat
6+
Priority: optional
7+
Version: %version%
8+
Description: Utility script for physics contests.

config

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/bash
2+
3+
#
4+
# Task upload
5+
#
6+
# SSH user at remote server
7+
user= #FILLME
8+
server=fykos.cz
9+
pathFYKOS=/network/data/www/fykos/fykos.cz/rocnik
10+
pathVYFUK=/network/data/www/fykos/fykos.cz/vyfuk/rocnik
11+
12+
#
13+
# Package upload
14+
#
15+
pkg_user=
16+
pkg_server=fykos.cz
17+
pkg_path=/network/data/www/fykos/packages.fykos.cz
18+
19+
#
20+
# Initialization
21+
#
22+
TEMPLATE_PATH=/usr/local/share/fks/templates
23+
24+
# rozdil mezi zadanim a resenim
25+
fksshift=1
26+
vfkshift=2

config.sample

Lines changed: 0 additions & 10 deletions
This file was deleted.

deb.info

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
PATHS_bin="*.sh"
4+
PATHS_share="export2csv.xsl semyr"
5+
PATHS_conf=config
6+
7+
PREFIX_bin=/usr/local/bin
8+
PREFIX_share=/usr/local/share/fks
9+
PREFIX_conf=/etc/fks
File renamed without changes.

0 commit comments

Comments
 (0)