code
stringlengths
1
1.96M
language
stringclasses
1 value
#!/bin/sh # # git-submodules.sh: add, init, update or list git submodules # # Copyright (c) 2007 Lars Hjemli dashless=$(basename "$0" | sed -e 's/-/ /') USAGE="[--quiet] add [-b branch] [-f|--force] [--reference <repository>] [--] <repository> [<path>] or: $dashless [--quiet] status [--cached] [--recursive] [--] [<...
Shell
#!/bin/sh # # This is included in commands that either have to be run from the toplevel # of the repository, or with GIT_DIR environment variable properly. # If the GIT_DIR does not look like the right correct git-repository, # it dies. # Having this variable in your environment would break scripts because # you would...
Shell
#!/bin/sh # # Copyright (c) 2010 Junio C Hamano. # . git-sh-setup case "$action" in continue) git am --resolved --resolvemsg="$resolvemsg" && move_to_original_branch exit ;; skip) git am --skip --resolvemsg="$resolvemsg" && move_to_original_branch exit ;; esac test -n "$rebase_root" && root_flag=--root git ...
Shell
#!/bin/sh # # Rewrite revision history # Copyright (c) Petr Baudis, 2006 # Minimal changes to "port" it to core-git (c) Johannes Schindelin, 2007 # # Lets you rewrite the revision history of the current branch, creating # a new branch. You can specify a number of filters to modify the commits, # files and trees. # The...
Shell
#!/bin/sh # # Copyright (c) 2006 Johannes E. Schindelin # SHORT DESCRIPTION # # This script makes it easy to fix up commits in the middle of a series, # and rearrange commits. # # The original idea comes from Eric W. Biederman, in # http://article.gmane.org/gmane.comp.version-control.git/22407 . git-sh-setup # The f...
Shell
#!/bin/sh OPTIONS_KEEPDASHDASH= OPTIONS_SPEC="\ git quiltimport [options] -- n,dry-run dry run author= author name and email address for patches without any patches= path to the quilt series and patches " SUBDIRECTORY_ON=Yes . git-sh-setup dry_run="" quilt_author="" while test $# != 0 do case "$1" in ...
Shell
#!/bin/sh # This is a very, _very_, simple script to convert a tab-separated # .txt file into a .pot/.po. # Its not clever but it took me 2 minutes to write :) # Michael Twomey <michael.twomey@ireland.sun.com> # 23 March 2001 # with slight GnuCash modifications by Christian Stimming <stimming@tuhh.de> # 19 Aug 2001, 23...
Shell
#!/bin/sh GVF=GIT-VERSION-FILE DEF_VER=0.13.GITGUI LF=' ' tree_search () { head=$1 tree=$2 for p in $(git rev-list --parents --max-count=1 $head 2>/dev/null) do test $tree = $(git rev-parse $p^{tree} 2>/dev/null) && vn=$(git describe --abbrev=4 $p 2>/dev/null) && case "$vn" in gitgui-[0-9]*) echo $vn; br...
Shell
#!/bin/sh while [ "$1" ] do if [ "$1" != "git-sh-setup" -a "$1" != "git-parse-remote" -a "$1" != "git-svn" ]; then old="$1" new=$(echo "$1" | sed 's/git-/git /') echo "Converting '$old' to '$new'" sed -i "s/\\<$old\\>/$new/g" $(git ls-files '*.sh') fi shift done sed -i 's/git merge-one-file/git-merge-one-fi...
Shell
#!/bin/sh T="$1" for h in \ *.txt *.html \ howto/*.txt howto/*.html \ technical/*.txt technical/*.html \ RelNotes/*.txt *.css do if test ! -f "$h" then : did not match elif test -f "$T/$h" && $DIFF -u -I'^Last updated ' "$T/$h" "$h" then :; # up to date else echo >&2 "# install $h $T/$h" rm -f "$T/...
Shell
#!/bin/sh ( c=//////////////////////////////////////////////////////////////// skel=api-index-skel.txt sed -e '/^\/\/ table of contents begin/q' "$skel" echo "$c" ls api-*.txt | while read filename do case "$filename" in api-index-skel.txt | api-index.txt) continue ;; esac title=$(sed -e 1q "$filename"...
Shell
#!/bin/sh # This requires a branch named in $head # (usually 'man' or 'html', provided by the git.git repository) set -e head="$1" mandir="$2" SUBDIRECTORY_OK=t USAGE='<refname> <target directory>' . "$(git --exec-path)"/git-sh-setup cd_to_toplevel test -z "$mandir" && usage if ! git rev-parse --verify "$head^0" >/dev...
Shell
#!/bin/sh cat <<\EOF GIT Howto Index =============== Here is a collection of mailing list postings made by various people describing how they use git in their workflow. EOF for txt do title=`expr "$txt" : '.*/\(.*\)\.txt$'` from=`sed -ne ' /^$/q /^From:[ ]/{ s/// s/^[ ]*// s/[ ]*$// s/^/by / p } ...
Shell
#!/bin/sh # git-ls-remote could be called from outside a git managed repository; # this would fail in that case and would issue an error message. GIT_DIR=$(git rev-parse -q --git-dir) || :; get_default_remote () { curr_branch=$(git symbolic-ref -q HEAD) curr_branch="${curr_branch#refs/heads/}" origin=$(git config ...
Shell
#!/bin/sh # wrap-for-bin.sh: Template for git executable wrapper scripts # to run test suite against sandbox, but with only bindir-installed # executables in PATH. The Makefile copies this into various # files in bin-wrappers, substituting # @@BUILD_DIR@@ and @@PROG@@. GIT_EXEC_PATH='@@BUILD_DIR@@' if test -n "$NO_S...
Shell
#!/bin/sh # Copyright 2005, Ryan Anderson <ryan@michonline.com> # # This file is licensed under the GPL v2, or a later version # at the discretion of Linus Torvalds. USAGE='<start> <url> [<end>]' LONG_USAGE='Summarizes the changes between two commits to the standard output, and includes the given URL in the generated ...
Shell
#!/bin/sh # # Copyright (c) 2005 Linus Torvalds # OPTIONS_KEEPDASHDASH= OPTIONS_SPEC="\ git repack [options] -- a pack everything in a single pack A same as -a, and turn unreachable objects loose d remove redundant packs, and run git-prune-packed f pass --no-reus...
Shell
#!/bin/sh { cat <<\EOF sayIt: $(foreach b,$(BUILT_INS),echo XXX $b YYY;) EOF cat Makefile } | make -f - sayIt 2>/dev/null | sed -n -e 's/.*XXX \(.*\) YYY.*/\1/p' | sort | { bad=0 while read builtin do base=`expr "$builtin" : 'git-\(.*\)'` x=`sed -ne 's/.*{ "'$base'", \(cmd_[^, ]*\).*/'$base' \1/p' git...
Shell
#!/bin/sh # # Copyright (c) 2010 Ævar Arnfjörð Bjarmason # # This is a skeleton no-op implementation of gettext for Git. It'll be # replaced by something that uses gettext.sh in a future patch series. if test -z "$GIT_GETTEXT_POISON" then gettext () { printf "%s" "$1" } gettextln() { printf "%s\n" "$1" } ev...
Shell
#!/bin/sh GVF=GIT-VERSION-FILE DEF_VER=v1.7.7.GIT LF=' ' # First see if there is a version file (included in release tarballs), # then try git-describe, then default. if test -f version then VN=$(cat version) || VN="$DEF_VER" elif test -d .git -o -f .git && VN=$(git describe --match "v[0-9]*" --abbrev=4 HEAD 2>/de...
Shell
#!/bin/sh # # Copyright (c) Linus Torvalds, 2005 # # This is the git per-file merge script, called with # # $1 - original file SHA1 (or empty) # $2 - file in branch1 SHA1 (or empty) # $3 - file in branch2 SHA1 (or empty) # $4 - pathname in repository # $5 - original file mode (or empty) # $6 - file in branc...
Shell
#!/bin/sh # # Copyright (c) 2006 Eric Wong # PERL='@@PERL@@' OPTIONS_KEEPDASHDASH= OPTIONS_SPEC="\ git instaweb [options] (--start | --stop | --restart) -- l,local only bind on 127.0.0.1 p,port= the port to bind to d,httpd= the command to launch b,browser= the browser to launch m,module-path= t...
Shell
#!/bin/bash # # Copyright 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 ...
Shell
#!/bin/bash # Scripts in the tools/ directory should source this file with the line: # pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null export TOOLS_DIR=$(pwd) export PROJECT_DIR=$(dirname $TOOLS_DIR) export APP_DIR=$PROJECT_DIR/app export TESTS_DIR=$PROJECT_DIR/tests for dir in \ "$APPENG...
Shell
#!/bin/bash # Copyright 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 to...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/validate_merge.py "$@"
Shell
#!/bin/bash # Creates a code review on codereview.appspot.com for the current branch. # The posted patch is a diff from the default head to this branch's head. # # This script supports the following workflow: # 1. Create a named branch and make your changes there. # 2. Merge changes (if any) from the default...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null export REMOTE_API_RC="from model import *"$'\n'"from setup_pf import *" $PYTHON $TOOLS_DIR/remote_api.py "$@"
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/merge_messages.py "$@"
Shell
#!/bin/bash DEFAULT_DAYS=90 function usage() { echo "Usage: $0 [-r <rev>] [-d <days>] [-l] [-h]" echo echo " Interactively go through all the heads that have no children in" echo " history DAG and that are at least $DEFAULT_DAYS days old, and " echo " no-op merge them to the default branch." echo ech...
Shell
#!/bin/bash # To run all tests: # # tools/unit_tests # # To run just the tests in tests/test_model.py and tests/test_indexing.py: # # tools/unit_tests test_model test_indexing pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null echo echo "--- Running unit tests" TZ=UTC $PYTHON $TESTS_DIR/...
Shell
#!/bin/bash # Copyright 2011 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 to in w...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null find $PROJECT_DIR -name '*.pyc' -exec rm '{}' ';' find $PROJECT_DIR -name '*.orig' -exec rm '{}' ';'
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null if [ "$1" == "run" ]; then shift # Look through the arguments for an application directory. for arg in "$@"; do case "$arg" in (--datastore_path*) datastore_path="$arg";; (-*) true;; ...
Shell
#!/bin/sh # use pylint to check the args. # requires installing pylint http://www.logilab.org/project/pylint # short form: easy_install pylint (may require root) LINT=$(which pylint) REPORTS="no" DEPRECATED=regsub,string,TERMIOS,Bastion,rexec if [ -z "$LINT" ]; then echo "pylint not found, please install." exit ...
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/find_missing_translations.py "$@"
Shell
#!/bin/bash pushd "$(dirname $0)" >/dev/null && source common.sh && popd >/dev/null $PYTHON $TOOLS_DIR/update_messages.py "$@"
Shell
#!/bin/bash # Starts up an appserver and runs end-to-end tests against it. # # Use -k to select particular test classes or methods by a substring match: # tools/server_tests -k ConfigTests # tools/server_tests -k test_delete_and_restore # # Specify -v to show the name of each test as it runs (rather than just...
Shell
#!/bin/sh jarsigner -verbose -digestalg SHA1 -sigalg MD5withRSA -keystore ~/Documents/keys/liberty-android-release.keystore bin/AnyMemo-release-unsigned.apk liberty-android-key zipalign -v 4 bin/AnyMemo-release-unsigned.apk bin/AnyMemo-release.apk
Shell
#!/bin/bash cd .. if [ -d "AnyMemoPro" ] then rm -rf AnyMemoPro fi cp AnyMemo AnyMemoPro -r cd AnyMemoPro mv src/org/liberty/android/fantastischmemo src/org/liberty/android/fantastischmemopro find ./ -type f -name "*.java" | xargs sed -i 's/org\.liberty\.android\.fantastischmemo/org\.liberty\.android\.fantastischmem...
Shell
#!/bin/sh trap exit ERR adb shell am instrument -w -e class "org.liberty.android.fantastischmemo.test.$1" org.liberty.android.fantastischmemo.test/android.test.InstrumentationTestRunner
Shell
#!/bin/sh trap exit ERR ant clean ant debug install
Shell
#!/bin/bash adb shell am start -e debug true -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n org.liberty.android.fantastischmemo/org.liberty.android.fantastischmemo.AnyMemo debug_port=$(adb jdwp | tail -1); cmd="adb forward tcp:8700 jdwp:$debug_port" echo $cmd exec $cmd echo 'DONE!'
Shell
#!/bin/bash cd .. if [ -d "AnyMemoLite" ] then rm -rf AnyMemoLite fi cp AnyMemo AnyMemoLite -r cd AnyMemoLite mv src/org/liberty/android/fantastischmemo src/org/liberty/android/fantastischmemolite rm -rf bin rm -rf gen find ./ -type f -name "*.java" | xargs sed -i 's/org\.liberty\.android\.fantastischmemo/org\.lib...
Shell
#!/bin/bash if [ -d "res/values-zh-rTW" ] then rm -rf res/values-zh-rTW fi mkdir res/values-zh-rTW iconv -f utf8 -t gb2312 res/values-zh-rCN/strings.xml | iconv -f gb2312 -t big5 | iconv -f big5 -t utf8 > res/values-zh-rTW/strings.xml
Shell
#!/bin/sh adb shell setprop debug.assert 1 adb shell setprop log.tag.StatementExecutor VERBOSE adb shell setprop log.tag.BaseMappedStatement VERBOSE adb shell setprop log.tag.MappedCreate VERBOSE
Shell
#!/bin/bash find ./ -type f -name "*.java" | xargs sed -i 's/org\.apache\.commons/org\.apache\.mycommons/g'
Shell
#!/bin/sh trap exit ERR ant debug install adb shell am start -n org.liberty.android.fantastischmemo/org.liberty.android.fantastischmemo.ui.AnyMemo
Shell
#!/bin/sh # # Detects OS we're compiling on and outputs a file specified by the first # argument, which in turn gets read while processing Makefile. # # The output will set the following variables: # CC C Compiler path # CXX C++ Compiler path # PLATFORM_LDFLAGS ...
Shell
#!/bin/bash # test that killing the parent does NOT kill the child python parent.py& sleep 3 kill `cat parent.pid` sleep 1 ps aux | grep python
Shell
#!/bin/sh # # Detects OS we're compiling on and outputs a file specified by the first # argument, which in turn gets read while processing Makefile. # # The output will set the following variables: # CC C Compiler path # CXX C++ Compiler path # PLATFORM_LDFLAGS ...
Shell
#!/bin/sh # # Detects OS we're compiling on and outputs a file specified by the first # argument, which in turn gets read while processing Makefile. # # The output will set the following variables: # CC C Compiler path # CXX C++ Compiler path # PLATFORM_LDFLAGS ...
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.BrowseRecycleBeanDemo $*
Shell
#!/bin/sh ROOT=../.. JARS=`ls ../../lib` CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" for i in $JARS ; do CLASSPATH="${CLASSPATH}:../../lib/${i}" done java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.FolderSettingsDemo $*
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.DownloadDemo $*
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.SignupDemo $*
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.BrowseFolderDemo $*
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.PreviewLinkDemo $*
Shell
#!/bin/sh ROOT=../.. JARS=`ls ../../lib` CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" for i in $JARS ; do CLASSPATH="${CLASSPATH}:../../lib/${i}" done java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.UploadDemo $*
Shell
#!/bin/sh ROOT=../.. CLASSPATH="4shared-api-demo.jar:../lib/4shared-api.jar" java -classpath $CLASSPATH \ com.pmstation.shared.soap.demo.CreateFolderDemo $*
Shell
#!/bin/sh # Copyright 2014 Google Inc. All rights reserved. # # 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 applica...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash the_dir=$1; if [ -z $1 ]; then echo echo "Usage $0 <playsms_directory>" echo exit 0; fi # CHMOD 644 CONFIG FILES for list in `find $the_dir`; do if [ -f $list ]; then echo "chmod 644 $list"; chmod 644 $list; fi done # CHMOD 755 DIRECTORIES for list in `find $the_dir`; do if [ -d $list ];...
Shell
#!/bin/bash the_dir=$1; if [ -z $1 ]; then echo echo "Usage $0 <playsms_directory>" echo exit 0; fi # CHMOD 644 CONFIG FILES for list in `find $the_dir`; do if [ -f $list ]; then echo "chmod 644 $list"; chmod 644 $list; fi done # CHMOD 755 DIRECTORIES for list in `find $the_dir`; do if [ -d $list ];...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash the_dir=$1; if [ -z $1 ]; then echo echo "Usage $0 <playsms_directory>" echo exit 0; fi # CHMOD 644 CONFIG FILES for list in `find $the_dir`; do if [ -f $list ]; then echo "chmod 644 $list"; chmod 644 $list; fi done # CHMOD 755 DIRECTORIES for list in `find $the_dir`; do if [ -d $list ];...
Shell
#!/bin/bash the_dir=$1; if [ -z $1 ]; then echo echo "Usage $0 <playsms_directory>" echo exit 0; fi # CHMOD 644 CONFIG FILES for list in `find $the_dir`; do if [ -f $list ]; then echo "chmod 644 $list"; chmod 644 $list; fi done # CHMOD 755 DIRECTORIES for list in `find $the_dir`; do if [ -d $list ];...
Shell
#!/bin/sh # create kannel dir for pids # mkdir -p /var/run/kannel chown kannel /var/run/kannel # set default boxen to run # START_WAPBOX=1 START_SMSBOX=1
Shell
#!/bin/sh # create kannel dir for pids # mkdir -p /var/run/kannel chown kannel /var/run/kannel # set default boxen to run # START_WAPBOX=1 START_SMSBOX=1
Shell
#!/bin/sh set -e #set -x package=playsms # start up debconf . /usr/share/debconf/confmodule # start up dbconfig-common # (uses debconf to config the database) # if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then . /usr/share/dbconfig-common/dpkg/config.mysql # first version that started using dbcon...
Shell
#!/bin/sh # postrm script for svnyoungest # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install'...
Shell
#!/bin/sh set -e #set -x package=playsms # start up debconf . /usr/share/debconf/confmodule # start up dbconfig-common # (uses debconf to config the database) # if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then . /usr/share/dbconfig-common/dpkg/config.mysql # first version that started using dbcon...
Shell
#!/bin/sh # postrm script for svnyoungest # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install'...
Shell
#!/bin/sh set -e package=playsms . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/prerm.mysql dbc_go $package $@
Shell
#!/bin/sh # postinst script for svnyoungest # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> ...
Shell
#!/bin/sh set -e package=playsms . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/prerm.mysql dbc_go $package $@
Shell
#!/bin/sh # postinst script for svnyoungest # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash the_dir=$1; if [ -z $1 ]; then echo echo "Usage $0 <playsms_directory>" echo exit 0; fi # CHMOD 644 CONFIG FILES for list in `find $the_dir`; do if [ -f $list ]; then echo "chmod 644 $list"; chmod 644 $list; fi done # CHMOD 755 DIRECTORIES for list in `find $the_dir`; do if [ -d $list ];...
Shell
#!/bin/bash the_dir=$1; if [ -z $1 ]; then echo echo "Usage $0 <playsms_directory>" echo exit 0; fi # CHMOD 644 CONFIG FILES for list in `find $the_dir`; do if [ -f $list ]; then echo "chmod 644 $list"; chmod 644 $list; fi done # CHMOD 755 DIRECTORIES for list in `find $the_dir`; do if [ -d $list ];...
Shell
#!/bin/sh # create kannel dir for pids # mkdir -p /var/run/kannel chown kannel /var/run/kannel # set default boxen to run # START_WAPBOX=1 START_SMSBOX=1
Shell
#!/bin/sh # create kannel dir for pids # mkdir -p /var/run/kannel chown kannel /var/run/kannel # set default boxen to run # START_WAPBOX=1 START_SMSBOX=1
Shell
#!/bin/sh set -e #set -x package=playsms # start up debconf . /usr/share/debconf/confmodule # start up dbconfig-common # (uses debconf to config the database) # if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then . /usr/share/dbconfig-common/dpkg/config.mysql # first version that started using dbcon...
Shell
#!/bin/sh # postrm script for svnyoungest # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install'...
Shell
#!/bin/sh set -e #set -x package=playsms # start up debconf . /usr/share/debconf/confmodule # start up dbconfig-common # (uses debconf to config the database) # if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then . /usr/share/dbconfig-common/dpkg/config.mysql # first version that started using dbcon...
Shell
#!/bin/sh # postrm script for svnyoungest # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' # * <old-postrm> `upgrade' <new-version> # * <new-postrm> `failed-upgrade' <old-version> # * <new-postrm> `abort-install'...
Shell
#!/bin/sh set -e package=playsms . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/prerm.mysql dbc_go $package $@
Shell
#!/bin/sh # postinst script for svnyoungest # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> ...
Shell
#!/bin/sh set -e package=playsms . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/prerm.mysql dbc_go $package $@
Shell
#!/bin/sh # postinst script for svnyoungest # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <postinst> `configure' <most-recently-configured-version> # * <old-postinst> `abort-upgrade' <new version> # * <conflictor's-postinst> `abort-remove' `in-favour' <package> ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash ######################################################################### # # # This shell script is an example to get playsms send you back any # # informations from the server. # # ...
Shell
#!/bin/bash the_dir=$1; if [ -z $1 ]; then echo echo "Usage $0 <playsms_directory>" echo exit 0; fi # CHMOD 644 CONFIG FILES for list in `find $the_dir`; do if [ -f $list ]; then echo "chmod 644 $list"; chmod 644 $list; fi done # CHMOD 755 DIRECTORIES for list in `find $the_dir`; do if [ -d $list ];...
Shell