code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # POST-REVPROP-CHANGE HOOK # # The post-revprop-change hook is invoked after a revision property # has been added, modified or deleted. Subversion runs this hook by # invoking a program (script, executable, binary, etc.) named # 'post-revprop-change' (for which this file is a template), with the # f...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # START-COMMIT HOOK # # The start-commit hook is invoked before a Subversion txn is created # in the process of doing a commit. Subversion runs this hook # by invoking a program (script, executable, binary, etc.) named # 'start-commit' (for which this file is a template) # with the following ordered...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # PRE-LOCK HOOK # # The pre-lock hook is invoked before an exclusive lock is # created. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-lock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (the pat...
Shell
#!/bin/sh # PRE-UNLOCK HOOK # # The pre-unlock hook is invoked before an exclusive lock is # destroyed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-unlock' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH ...
Shell
#!/bin/sh # POST-COMMIT HOOK # # The post-commit hook is invoked after a commit. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-commit' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this rep...
Shell
#!/bin/sh # PRE-COMMIT HOOK # # The pre-commit hook is invoked before a Subversion txn is # committed. Subversion runs this hook by invoking a program # (script, executable, binary, etc.) named 'pre-commit' (for which # this file is a template), with the following ordered arguments: # # [1] REPOS-PATH (t...
Shell
#!/bin/sh # PRE-REVPROP-CHANGE HOOK # # The pre-revprop-change hook is invoked before a revision property # is added, modified or deleted. Subversion runs this hook by invoking # a program (script, executable, binary, etc.) named 'pre-revprop-change' # (for which this file is a template), with the following or...
Shell
#!/bin/sh # POST-UNLOCK HOOK # # The post-unlock hook runs after a path is unlocked. Subversion runs # this hook by invoking a program (script, executable, binary, etc.) # named 'post-unlock' (for which this file is a template) with the # following ordered arguments: # # [1] REPOS-PATH (the path to this...
Shell
nosetests --with-gae --without-sandbox -v
Shell
java -jar rtscup_server.jar & java -jar rtscup_viewer.jar
Shell
java -jar rtscup_server.jar & java -jar rtscup_viewer.jar
Shell
java -jar rtscup_server.jar & java -jar rtscup_viewer.jar
Shell
java -jar rtscup_server.jar & java -jar rtscup_viewer.jar
Shell
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2012, Cake Software Foundation, Inc. # # Licensed under The MIT Lic...
Shell
#!/usr/bin/env bash ################################################################################ # # Bake is a shell script for running CakePHP bake script # PHP 5 # # CakePHP(tm) : Rapid Development Framework (http://cakephp.org) # Copyright 2005-2012, Cake Software Foundation, Inc. # # Licensed under The MIT Lic...
Shell
#!/bin/sh -x PROJECT="gmail-delay-send" USER="blairkutz@gmail.com" ENV=dev FILE_NAME="output/${PROJECT}.${ENV}" echo "Combining and uploading files for $ENV" rm -f ${FILE_NAME} touch ${FILE_NAME} for FILE in ../src/* do cat $FILE >> ${FILE_NAME} done python utils/googlecode_upload.py -s "Uploading for $ENV" -p ...
Shell
#!/bin/sh VERSION=BETA_0.7.3 git tag -f ${VERSION} mkdir -f output FILE_NAME=output/${VERSION}.combined for FILE in ../src/downloaded/* do cat $FILE >> ${FILE_NAME} done
Shell
#!/bin/sh cd src make -j driver || exit 1 echo echo home-home ./driver ../concept/img/b_all2.png ../concept/config_b.txt out echo echo away-home ./driver ../concept/img/b_all2.png ../concept/config_b.txt outa ah1 echo echo big field ./driver ../b_all2_big.png ../concept/config_empty.txt out2 hh2
Shell
#!/bin/sh cd src make -j perf && time ./perf ../concept/img/b_all2.png ../concept/config_b.txt
Shell
#!/bin/bash sudo /mnt/programs/callout2 $1&
Shell
#!/bin/bash sleep 2 cp -p -f $1 /var/spool/asterisk/outgoing/
Shell
#!/bin/bash sudo /mnt/programs/callout2 $1&
Shell
#!/bin/bash sleep 2 cp -p -f $1 /var/spool/asterisk/outgoing/
Shell
#!/bin/bash echo "Type your User Name, followed by [ENTER]:" read user_name echo "Type your Web Server User Name, followed by [ENTER]:" read server_name if [ -f upload/config.php ] then mv upload/config.php upload/config_backup.php fi if [ -f upload/admin/config.php ] then mv upload/admin/config.php upl...
Shell
#!/bin/sh git log --graph --pretty=oneline --abbrev-commit
Shell
#!/bin/sh git archive --format=zip
Shell
#!/bin/sh if [ ! -e icons ]; then echo "You must run this script in the scripts directory." exit 1 fi name=$1 echo "Using iconset $name.png" if [ ! -e "icons/${name}_150.png" ]; then echo "Icon set does not exist." echo "usage: set_icons.sh quill" exit 1 fi cp "icons/${name}_150.png" ../res/drawable/icon...
Shell
#!/bin/sh cat toolbox.xml | \ sed 's/Left/XXXXX/g' | \ sed 's/Right/Left/g' | \ sed 's/XXXXX/Right/g' | \ sed 's/toolbox_undo/XXXXX/g' | \ sed 's/toolbox_redo/toolbox_undo/g' | \ sed 's/XXXXX/toolbox_redo/g' | \ sed 's/toolbox_next/XXXXX/g' | \ sed 's/toolbox_prev/toolbox_next/g' | \ ...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software # Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public ...
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6b # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # ...
Shell
#!/bin/sh eval `grep '^HPDF_EXTRA_VERSION=' configure.in` case "$HPDF_EXTRA_VERSION" in *-dev) rebuildok=1 ;; *) rebuildok=0 ;; esac cvsclean=0 while test $# -gt 0; do if test "$1" = "--force"; then rebuildok=1 echo "Forcing buildconf" fi if test "$1" = "--clean"; then cvsclean=...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2009-04-28.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is ...
Shell
#/bin/sh ./configure --system-name=GCC mv Makefile script/Makefile.gcc ./configure --system-name=GCC --shared mv Makefile script/Makefile.gcc_so ./configure --system-name=CYGWIN mv Makefile script/Makefile.cygwin ./configure --system-name=CYGWIN --shared mv Makefile script/Makefile.cygwin_dll ./configure --system-name...
Shell
#!/bin/sh # # make resource files for each platforms # _VERSION2=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g')".0" _VERSION1=$(grep VERSION include/hpdf_consts.h | awk '{print $3}' | sed 's/"//g;s/\./,/g')",0" _COMPILER="" which windres if [ $? -ne 0 ]; then echo "windres does not exist." ...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2009-04-28.21; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free softw...
Shell
#!/bin/sh pushd /home/vbraun/Eclipse/workspace/Quill javah -jni -d jni -classpath bin/classes org.libharu.Document javah -jni -d jni -classpath bin/classes org.libharu.Page javah -jni -d jni -classpath bin/classes org.libharu.Font /home/vbraun/opt/android-ndk-r7/ndk-build popd
Shell
#!/usr/bin/env bash ############################################################################## ## ## Gradle start up script for UN*X ## ############################################################################## # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to ...
Shell
#!/bin/bash IFS=$'\n' files=`ls merged | grep .csv` here=`pwd`/merged there=`pwd`/results rm $there/* for file in $files ; do name=$there/$file dname=$here/$file echo Source: echo $name echo Destination: echo $dname echo cat $dname | awk -F\",\" '{print $3}' | sort | uniq -c | awk '{print $2","$1}' >> $name...
Shell
#!/bin/bash IFS=$'\n' directories=`ls unmerged | grep -v .csv` here=`pwd`/unmerged there=`pwd`/merged rm $there/* for directory in $directories ; do echo $directory name=$there/$directory.csv dname=$here/$directory echo $name echo $dname echo cat $dname/*.csv | egrep -v "^\"Title\",\"Publication number\",\"P...
Shell
#!/bin/bash IFS=$'\n' directories=`ls unmerged | grep -v .csv` here=`pwd`/unmerged there=`pwd`/merged rm $there/* for directory in $directories ; do echo $directory name=$there/$directory.csv dname=$here/$directory echo $name echo $dname echo cat $dname/*.csv | egrep -v "^\"Title\",\"Publication number\",\"P...
Shell
#!/bin/bash IFS=$'\n' files=`ls merged | grep .csv` here=`pwd`/merged there=`pwd`/results rm $there/* for file in $files ; do name=$there/$file dname=$here/$file echo Source: echo $name echo Destination: echo $dname echo cat $dname | awk -F\",\" '{print $3}' | sort | uniq -c | awk '{print $2","$1}' >> $name...
Shell
#!/bin/sh BUILD_DIR=build SRC=src/testsuite/zr SM_INCLUDE=env/include ZR_INCLUDE=src/include SPCOMP=env/linux/bin/spcomp-1.3.4 mkdir -p $BUILD_DIR $SPCOMP -i$SM_INCLUDE -i$ZR_INCLUDE -o$BUILD_DIR/respawnapitest.smx $SRC/respawnapitest.sp $SPCOMP -i$SM_INCLUDE -i$ZR_INCLUDE -o$BUILD_DIR/infectapitest.smx $SRC/infecta...
Shell
#!/bin/sh SYNTAX="Usage: $0 <base rev> <target rev>" if [ "$1" ] then BASEREV="$1" if [ "$2" ] then TARGETREV="$2" else echo "Missing target revision. $SYNTAX" exit 1 fi else echo "$SYNTAX" exit 1 fi hg diff -r $BASEREV -r $TARGETREV cstrike/cfg/* cstrike/addo...
Shell
#!/bin/sh # Note: Copy this script to the source code repository and execute it # from that location. # Program for printing date. ZR_DATEPATH='date' ZR_UNOFFICIAL=false if [ "$1" ] then if [ "$1" = "--unofficial" ] then ZR_UNOFFICIAL=true else ZR_DATEPATH=$1 fi fi ZR_VERSION_...
Shell
#!/bin/sh PATCHLIST=patchlist.conf DEST=docs/changes/ BASEREV="none" mkdir -p $DEST for TARGETREV in $(cat $PATCHLIST); do if [ $BASEREV = "none" ] then BASEREV=$TARGETREV else hg diff -r $BASEREV -r $TARGETREV cstrike/cfg/* cstrike/addons/sourcemod/* > $DEST/r$TARGETREV.diff BAS...
Shell
#!/bin/sh VERSION="zombiereloaded-3.0-b2" REVISION=$(hg id -n) SYNTAX="Usage: $0 [--patch <base rev>]" # Source paths BUILDDIR=build PLUGINFILE=zombiereloaded.smx PLUGINFILES="cstrike/*" DOCS="docs/*" SOURCEDIR="src/*" # Destination paths RELEASEDIR=release SOURCE_DEST=$RELEASEDIR/addons/sourcemod/scripting DOCS_DE...
Shell
#!/bin/sh cd src/ echo "$(hg tip)\n" LINES_MAIN=`wc *.sp -l | cut -d ' ' -f1` LINES_OTHER=`wc zr/*.* -l | tail -n1 | sed 's/^ *\(.*\) *$/\1/' | cut -d ' ' -f1` LINES_PLAYERCLASSES=`wc zr/playerclasses/*.* -l | tail -n1 | sed 's/^ *\(.*\) *$/\1/' | cut -d ' ' -f1` LINES_SOUNDEFFECTS=`wc zr/soundeffects/*.* -l | tail ...
Shell
#!/bin/sh # Script to generate png icons in different resolutions from svg sources. # Copyright (C) 2011 Denis Nelubin # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either versio...
Shell
#!/bin/sh jre RS274X $*
Shell
#!/bin/sh jre RS274X $*
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
iptables -F iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 22022 -j ACCEPT iptables -A INPUT -p icmp -j ACCEPT iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A INPUT -p t...
Shell
#!/bin/bash # New server setup script # Optimised for CentOS 6 on OrionVM and CloudatCost # keith@agilis.net.au ## LOST VERSION HISTORY FUCK ## # Recreated for V 0.1 - 0.2 # # 2014-12-09 0.1 - Initial creation # - Other stuff # 2014-12-10 0.2 - Added log email # - Fixed bugs # - Tested on CentOS on both Cloudat...
Shell
#!/bin/bash # New server setup script # Optimised for CentOS 6 on OrionVM and CloudatCost # keith@agilis.net.au ## LOST VERSION HISTORY FUCK ## # Recreated for V 0.1 - 0.2 # # 2014-12-09 0.1 - Initial creation # - Other stuff # 2014-12-10 0.2 - Added log email # - Fixed bugs # - Tested on CentOS on both Cloudat...
Shell
#!/bin/bash # # Copyright (c) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/bash # # Copyright (c) 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#! /bin/sh find . -iname '*.[oa]' -exec \rm -f {} \; find . -iname '*.ppm' -exec \rm -f {} \; find . -iname '*~' -exec \rm -f {} \; find . -iname 'gamma.*' -exec \rm -f {} \; find . -iname Debug -exec \rm -rf {} \; find . -iname Release -exec \rm -rf {} \; find . -iname '*.exe' -exec \rm -rf {} \; find . -ina...
Shell
# autogen.sh # # invoke the auto* tools to create the configureation system # build aclocal.m4 aclocal # build the configure script autoconf # set up libtool libtoolize --force # invoke automake automake --foreign --add-missing # and finally invoke our new configure ./configure $* # end
Shell
# autogen.sh # # invoke the auto* tools to create the configuration/build system # build aclocal.m4 aclocal # build config.h autoheader # build the configure script autoconf # set up libtool libtoolize --force # invoke automake automake --foreign --add-missing --ignore-deps # and finally invoke...
Shell
#! /bin/sh find . -iname '*.[oa]' -exec \rm -f {} \; find . -iname '*.ppm' -exec \rm -f {} \; find . -iname '*~' -exec \rm -f {} \; find . -iname 'gamma.*' -exec \rm -f {} \; find . -iname Debug -exec \rm -rf {} \; find . -iname Release -exec \rm -rf {} \; find . -iname '*.exe' -exec \rm -rf {} \; find . -ina...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Wszystkie dane przykładowe zostaną skasowane, a następnie załadowane nowe [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_all_conf.sql echo "Załad...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/pigstore_conf_to_pigstore.sql > /dev/null echo "Załadowano pigstore_conf_to_pigstore....
Shell
#!/bin/bash sudo apt-get install postgresql sudo apt-get install phppgadmin sudo apt-get install pgadmin3 sudo apt-get install libqt4-sql-psql sudo -u postgres psql < ../dbs/init_psql.sql > /dev/null echo 'Inicjacja uzytkowników i bazy zakonczona' echo 'Mimo bledu ponizej, zaczekajcie do konca, trwa ladowanie struk...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update24.sql echo "Załadowano db_update24.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/db_update25.sql > /dev/null echo "Załadowano db_update25.sql" echo "Wszystko ok" e...
Shell
#!/bin/bash cat /etc/*-release > $HOME/.agila/firstRunInfo
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/db_update29.sql echo "Załadowano db_update29.sql" echo "Wszystko ok" else echo "N...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update18.sql echo "Załadowano db_update18.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update11.sql echo "Załadowano db_update11.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/db_update30.sql echo "Załadowano db_update30.sql" echo "Wszystko ok" else echo "N...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Wszystkie dane przykładowe zostaną skasowane, a następnie załadowane nowe [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_all_conf.sql echo "Załad...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update13.sql echo "Załadowano db_update13.sql"...
Shell
#!/bin/bash sudo -u postgres psql < ../dbs/init_psql2.sql > /dev/null echo 'Mimo bledu ponizej, zaczekajcie do konca, trwa ladowanie struktury do bazy' echo "Uzbroicie sie w cierpliwosc, kody pocztowe sa ladowane!" echo "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@" echo "@ moze to potrwac do 5 min ! @" echo "@@@@@@@@@@@@@@@@@@@...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update14.sql echo "Załadowano db_update14.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update16.sql echo "Załadowano db_update16.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update20.sql echo "Załadowano db_update20.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update18.sql echo "Załadowano db_update18.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Tabele sale_documents, store_documents zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update10.sql echo "Załadowano db_update10...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update17.sql echo "Załadowano db_update17.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update24.sql echo "Załadowano db_update24.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update22.sql echo "Załadowano db_update22.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update21.sql echo "Załadowano db_update21.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/db_update31.sql echo "Załadowano db_update31.sql" echo "Wszystko ok" else echo "N...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/db_update26.sql > /dev/null echo "Załadowano db_update25.sql" echo "Wszystko ok" e...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/db_update25.sql > /dev/null echo "Załadowano db_update25.sql" echo "Wszystko ok" e...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then sudo -u postgres psql < ../dbs/pigstore_to_agila.sql echo 'Zmieniono nazwę bazy z pigstore na agila' echo "jeszcze update 32... poczekaj..." sudo...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then sudo -u postgres psql -d agila < ../dbs/db_update33.sql echo "Załadowano db_update33.sql" echo "Wszystko ok" else echo "Nie wykonano update'u baz...
Shell
#!/bin/bash cat /etc/*-release > $HOME/.agila/firstRunInfo
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update19.sql echo "Załadowano db_update19.sql"...
Shell
#!/bin/bash sudo apt-get install postgresql sudo apt-get install phppgadmin sudo apt-get install pgadmin3 sudo apt-get install libqt4-sql-psql sudo -u postgres psql < ../dbs/init_psql.sql > /dev/null echo 'Inicjacja uzytkowników i bazy zakonczona' echo 'Mimo bledu ponizej, zaczekajcie do konca, trwa ladowanie struk...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/db_update29.sql echo "Załadowano db_update29.sql" echo "Wszystko ok" else echo "N...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update12.sql echo "Załadowano db_update12.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/db_update27.sql > /dev/null echo "Załadowano db_update25.sql" echo "Wszystko ok" e...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." sudo -u postgres psql -d pigstore < ../dbs/pigstore_conf_to_pigstore.sql > /dev/null echo "Załadowano pigstore_conf_to_pigstore....
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update23.sql echo "Załadowano db_update23.sql"...
Shell
#!/bin/bash echo 'Czy chcesz kontynuować? Aktualizacja bazy, żadne dane nie zostaną nadpisane [T/N]' read answer if [ "$answer" = "t" ] || [ "$answer" = "T" ]; then echo "Kontynuuj..." mysql --user=bbraces --password=bb123456 --default_character_set utf8 < ../dbs/db_update15.sql echo "Załadowano db_update15.sql"...
Shell