code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
/bin/kill -9 `/bin/pidof havp`
/bin/sleep 1
/bin/rm -rf havp.pid
/usr/local/sbin/havp -c /usr/local/etc/havp/havp.config
/bin/kill -9 `/bin/pidof frox`
/bin/sleep 1
/bin/rm -rf /var/run/frox.pid
/usr/local/sbin/frox;
/bin/kill -9 `/bin/pidof p3scan`
/bin/sleep 1
/bin/rm -rf /var/run/p3scan.pid;
/usr/local... | Shell |
#!/bin/sh
cat /var/log/log.txt | grep HTTP | grep VIRUS | wc | awk '{print $1}' > /usr/local/apache2/htdocs/http.number
cat /var/log/log.txt | grep SMTP | grep virus | wc | awk '{print $1}' > /usr/local/apache2/htdocs/smtp.number
cat /var/log/log.txt | grep POP3 | grep virus | wc | awk '{print $1}' > /usr/local/apache... | Shell |
#!/bin/sh
#if [ ! -e /tmp/havp ]
#then
# #echo "No find /tmp/havp."
# /bin/mkdir /tmp/havp
#fi
s=`/bin/df | /bin/grep shm | /bin/awk '{print $5}' | /bin/awk -F% '{print $1}'`
b=99
if [ "$s" -gt "$b" ]; then
#echo "No tmp space and del /tmp/clamav-*."
/bin/rm -rf /tmp/clamav-*
fi
| Shell |
#!/bin/sh
/usr/sbin/find /usr/tmp -name "clamav-*" -mmin +10 -exec /bin/rm -rf {} \;
/usr/sbin/find /usr/tmp/havp -type f -mmin +10 -exec /bin/rm -rf {} \;
/usr/sbin/find /usr/tmp/frox -type f -mmin +10 -exec /bin/rm -rf {} \;
/usr/sbin/find /var/spool/p3scan/children -name "[0-9]*" -mmin +10 -exec /bin/rm -rf {}... | Shell |
#!/bin/sh
/bin/kill -9 `/bin/pidof havp`
/bin/sleep 1
/bin/rm -rf havp.pid
/usr/local/sbin/havp -c /usr/local/etc/havp/havp.config
/bin/kill -9 `/bin/pidof frox`
/bin/sleep 1
/bin/rm -rf /var/run/frox.pid
/usr/local/sbin/frox;
/bin/kill -9 `/bin/pidof p3scan`
/bin/sleep 1
/bin/rm -rf /var/run/p3scan.pid;
/usr/local... | 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-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-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
# 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
# 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
# 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-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | 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
# 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
# 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
# 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 |
#!/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 |
#!/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-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/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
# 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/bash
# see the README file for usage etc.
#
# ------------------------------------------------------------------
# This file is part of bzip2/libbzip2, a program and library for
# lossless, block-sorting data compression.
#
# bzip2/libbzip2 version 1.0.6 of 6 September 2010
# Copyright (C) 1996-2010 Julian S... | Shell |
#!/bin/sh
# Bzgrep wrapped for bzip2,
# adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
## zgrep notice:
## zgrep -- a wrapper around a grep program that decompresses files as needed
## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
PATH="/usr/bin:$PATH"; export PA... | Shell |
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
# Bzcmp/diff wrapped for bzip2,
# adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
# gram on compressed files. All options specified are passed
#... | Shell |
#!/bin/sh
# Bzmore wrapped for bzip2,
# adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
PATH="/usr/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*less) more=less ;;
*) more=more ;;
esac
if test "`echo -n a`" = "-n a"; then
# looks like a SysV system:
... | Shell |
#!/bin/bash
#
###############################################################################
#
# Build a binary package on Windows with MinGW and MSYS
#
# Set the paths where MinGW, Mingw-w32, or MinGW-w64 are installed. If both
# MinGW and MinGW-w32 are specified, MinGW-w32 will be used. If there is no
# 32-bit or 64... | Shell |
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
scriptversion=2009-10-06.20; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
# Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under t... | Shell |
# libtool (GNU libtool) 2.4
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even f... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | 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
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2006 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | 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
#
###############################################################################
#
# Wrapper for GNU groff to convert man pages to a few formats
#
# Usage: manconv.sh FORMAT [PAPER_SIZE] < in.1 > out.suffix
#
# FORMAT can be ascii, utf8, ps, or pdf. PAPER_SIZE can be anything that
# groff accepts, e.g. a4 or... | Shell |
#!/bin/sh
#
#############################################################################
#
# Get the version string from version.h and print it out without
# trailing newline. This makes it suitable for use in configure.ac.
#
#############################################################################
#
# Author: Las... | Shell |
#!/bin/sh
###############################################################################
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
###############################################################################
# If both xz and xzdec ... | Shell |
#!/bin/sh
###############################################################################
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
###############################################################################
# If xz wasn't built, t... | Shell |
#!/bin/sh
###############################################################################
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
###############################################################################
# The result of using "... | Shell |
#!/bin/bash
#
#############################################################################
#
# 7z2lzma.bash is very primitive .7z to .lzma converter. The input file must
# have exactly one LZMA compressed stream, which has been created with the
# default lc, lp, and pb values. The CRC32 in the .7z archive is not check... | 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
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2009-04-28.21; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Ge... | 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
# 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/bash
# libtool - Provide generalized library-building support services.
# Generated automatically by config.status (snappy) 1.0.1
# Libtool was configured on host destiny:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005... | Shell |
#! /bin/sh -e
export PATH=/bin:/usr/bin # Local hack.
rm -rf autom4te.cache
aclocal -I m4
autoheader
libtoolize --copy
automake --add-missing --copy
autoconf
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Test
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: Demo1Main
exit 0
| Shell |
#!/bin/sh
javac Util.java
javac Registry.java
javac Properties.java
exit 0
| Shell |
#!/bin/sh
javac -cp ../orig: Demo1Main.java
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2: TCMain
exit 0
| Shell |
#!/bin/sh
# ./test_run.sh orig_main ../orig
# ./test_run.sh new_main ../new
# ./test_run.sh orig_main ../new
cd $1
java -cp $2:../libs/GMC.jar:./ -Djava.library.path=../libs/ TCMain
exit 0
| Shell |
#!/bin/sh
#./ant/androguard_ant.py ./examples/android/Test/bin/classes/org/t0t0/android/ ./examples/android/Test/androguard.xml
./ant/androguard_ant.py ./examples/java/TC/orig/:./examples/java/TC/orig_main/ ./examples/java/TC/androguard.xml
exit 0
| Shell |
#!/bin/bash
#
# Starts a basic web server on the port specified.
#
# ./serve.sh 3000 -> http://localhost:3000
#
# Copyright 2012 Eric Bidelman <ebidel@gmail.com>
port=$1
if [ $# -ne 1 ]
then
port=8000
fi
if [ $(uname -s) == "Darwin" ]
then
open=open
else
open=xdg-open
fi
$open http://localhost:$port/templat... | 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/sh
# Quick and dirty script to download and install various
# redistributable runtime libraries
#
# Current maintainers: Austin English, Dan Kegel
# Copyright 2007, 2008, 2009, 2010 Google (Dan Kegel, dank@kegel.com)
# Copyright 2008, 2009, 2010 Austin English (austinenglish@gmail.com)
# License: LGPL (for compa... | Shell |
#!/bin/sh
# Quick and dirty script to install apps from .iso files
# Adapted from winetricks as of r995
# Copyright 2007, 2008, 2009, 2010 Google (Dan Kegel, dank@kegel.com)
# Copyright 2008, 2009, 2010 Austin English (austinenglish@gmail.com)
# License: LGPL (for compatibility with winehq)
# Please report problems at ... | Shell |
#!/bin/bash
SUFFIX="$1"
for dep in debian/*.recs; do
package="$(basename "$dep" .recs)"
path="debian/$package$SUFFIX"
dpkg-shlibdeps -O $path/extradeps* -dRecommends $path/extrarecs* 2>/dev/null |
grep "shlibs:Recommends" >> debian/$package$SUFFIX.substvars
done
# return success
true
| Shell |
#!/bin/bash
SUFFIX="$1"
shift
ARCHS="$@"
for ext in deps recs; do
for dep in debian/*.${ext}; do
package="$(basename "$dep" .${ext})"
path="debian/$package$SUFFIX"
deplist=$(sed 's,^,-l,' $dep)
# echo $path: $deplist
for arch in $ARCHS; do
gcc -m$arch -Wl,--noinhibit-exec -o "$path/extra${ex... | Shell |
#!/bin/bash
PREFIX="$1"
DIR="$2"
echo "Symlinking in ia32-libs..."
while read LIB NAME; do
LIBPATH="$PREFIX/$LIB"
LIBNAME="$DIR/$NAME"
[ -e "$LIBPATH" ] && [ ! -e "$LIBNAME" ] && ln -s "$LIBPATH" "$LIBNAME"
done < debian/ia32.libs
# return success
true
| Shell |
#!/bin/bash
SUFFIX="$1"
shift
SRC="$1"
shift
while [ -n "$1" ]; do
PREFIX="$1"
while read DEST NAME; do
for bin in debian/$SRC$SUFFIX/$PREFIX/$NAME.so; do
if [ -f $bin ]; then
install -d debian/$DEST$SUFFIX/$PREFIX
mv $bin debian/$DEST$SUFFIX/$PREFIX
fi
done
for bin in debian... | Shell |
#!/bin/bash
SUFFIX="$1"
sed -n "
/^[ ]/! {
x
s/^\(Source: \|Package: \).*$/&${SUFFIX}/
/^\(Depends\|Recommends\|Suggests\|Replaces\): .*[^,]$/ {
s/\([\n:,|] \)\([a-z0-9_-]*wine[a-z0-9_-]*\)/\1\2${SUFFIX}/g
s/wine-doc${SUFFIX}/wine-doc/g
}
/^./ p
x
/^$/ p
h
}
/^[ ]/ H
" debian/control.in > debian/control
... | Shell |
#!/bin/bash
SUFFIX="$1"
for ext in deps recs; do
for dep in debian/*.${ext}; do
package="$(basename "$dep" .${ext})"
path="debian/$package$SUFFIX"
# echo $path
rm -f "$path/extra${ext}32" "$path/extra${ext}64"
done
done
# return success
true
| Shell |
#!/bin/bash
SUFFIX="$1"
TRANSPREFIX="$2"
TRANSSUFFIX="$3"
sed -n "
/^Source: / {
s/Source: \(.*\)/Source: \1${SUFFIX}/
h
}
/^Package: / {
: PKG
x
s/Package: \([^\n]*\)\n\(\([^\n]*\n\)*\)Depends: \(.*\n\([ ].*\n\)*\)/Package: \1${SUFFIX}\n\2Depends: ${TRANSPREFIX}\1${TRANSSUFFIX}\n/M
s/Pre-Depends: .*\n//M
s/Con... | Shell |
#!/bin/sh
set -e
if [ "$1" != "--upstream-version" ]
then
echo "Usage: $0 --upstream-version VERSION FILENAME"
exit 1
fi
upstream_version="$2"
origfilename="$3"
# dereference symlink, we'll stash the original filename into pristine-tar
# (currently, debian does not allow .tar.bz2 source packages anyway, so this
# ... | Shell |
#!/bin/sh
set -e
git-buildpackage --git-pristine-tar \
--git-upstream-tag="wine-%(version)s" \
--git-debian-tag="wine-%(version)s" \
"$@"
| Shell |
#!/bin/sh
set -e
if [ "$1" != "--upstream-version" ]
then
echo "Usage: $0 --upstream-version VERSION"
exit 1
fi
upstream_version="$2"
# Create changelog entry, so build tools can find the upstream version
dch -v "$upstream_version-1" --distribution UNRELEASED --preserve \
"UNRELEASED"
git add debian/changelog
# Am... | Shell |
#!/bin/sh
set -e
version=`dpkg-parsechangelog|sed -n 's/Version: \(.*\)/\1/p'`
distribution=`dpkg-parsechangelog|sed -n 's/Distribution: \(.*\)/\1/p'`
# see if the version in the changelog is tagged (already built)
obj_type="`git cat-file -t "wine-$version" 2>/dev/null`" || true
if [ -n "$obj_type" ]
then
# it is, so... | Shell |
#!/bin/sh -e
. /usr/share/debconf/confmodule
#DEBHELPER#
| Shell |
#!/bin/sh -e
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
#DEBHELPER#
| Shell |
#!/bin/sh -e
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
#DEBHELPER#
| Shell |
#!/bin/bash
MULTIARCH="$1"
WIN64="$2"
if [ "$MULTIARCH" != "y" ]; then
# if not using full multiarch, delete the Multi-Arch fields.
sed -i "/^Multi-Arch: / d" debian/control
else
if [ "$WIN64" != "y" ]; then
# if using full multiarch, but without win64, do not build on amd64
sed -i "/^Architecture: / s/ \(\w\+-\)\?amd... | Shell |
#!/bin/bash
SUFFIX="$1"
LIBDIRS="$2"
function replace_paths_full
{
sed "s,/usr/lib,/$1,g" | \
sed "s,/$1/wine,&$SUFFIX,g" | \
sed "s,/usr/share/wine,&$SUFFIX,g" | \
sed "s,usr/share/doc/$package,&$SUFFIX,g" | \
([ "$ext" != "lintian-overrides" ] && cat || sed "s,^$package,&$SUFFIX,g" ) | \
sed "s,@SUFFIX@,... | Shell |
#!/bin/bash
XMESSAGE=/usr/bin/xmessage
ARCH="`dpkg --print-architecture`"
# Give a warning if launched from mailcap
if [ `basename $0` = "wine-safe" ]; then
$XMESSAGE -center \
-title "Launching Wine" \
-default "No" \
-buttons "No":0,"Yes":2 \
"
Wine will launch to run the requested Windows executable.
To pro... | Shell |
#!/bin/sh -e
. /usr/share/debconf/confmodule
#DEBHELPER#
| Shell |
#!/bin/bash
SUFFIX="$1"
for ext in install links mime config preinst postinst prerm postrm docs manpages lintian-overrides bugcontrol; do
for inst in debian/*.${ext}-common; do
package="$(basename "$inst" .${ext}-common)"
rm -f debian/$package$SUFFIX.${ext}
done
done
# return success
true
| Shell |
#!/bin/bash
SRC="$1"
sed -n 's,^Package: ,,p' debian/control |
while read PKG; do
if [ "$SRC" != "$PKG" -a -d debian/$PKG ]; then
# create symlink
install -d debian/$PKG/usr/share/doc
pushd debian/$PKG/usr/share/doc > /dev/null
[ ! -d $PKG ] || rmdir $PKG
[ -d $PKG ] || mkdir $SRC
ln -s $SRC $... | Shell |
#!/bin/sh -e
. /usr/share/debconf/confmodule
#DEBHELPER#
| Shell |
#!/bin/sh -e
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
if [ "$1" = "configure" ] ; then
if [ -x /usr/sbin/update-binfmts ]; then
/usr/sbin/update-binfmts --import wine || true
fi
fi
#DEBHELPER#
| Shell |
#!/bin/sh -e
if [ "$1" = "remove" ] ; then
if [ -x /usr/sbin/update-binfmts ]; then
/usr/sbin/update-binfmts --package wine --remove wine /usr/bin/wine || true
fi
fi
#DEBHELPER#
| Shell |
#!/bin/sh
PROG_PATH=$1
OUTPUT_PATH=$2
SERVER=$3
mydir=`dirname $0`
tempdir=`dirname $OUTPUT_PATH`
PASSWD_FILE=$mydir/vnc-password-file
if [ ! -e $tempdir ]
then
mkdir $tempdir
fi
nohup $PROG_PATH -n -o $OUTPUT_PATH -P $PASSWD_FILE $SERVER > /dev/null 2>&1 &
pid=$!
echo $pid > $tempdir/pid
| Shell |
#!/bin/sh
OUTPUT_PATH=$1
tempdir=`dirname $OUTPUT_PATH`
pid=`cat $tempdir/pid`
kill -INT $pid
| Shell |
#!/bin/sh
PROG_PATH=$1
OUTPUT_PATH=$2
SERVER=$3
mydir=`dirname $0`
tempdir=`dirname $OUTPUT_PATH`
PASSWD_FILE=$mydir/vnc-password-file
if [ ! -e $tempdir ]
then
mkdir $tempdir
fi
nohup $PROG_PATH -n -o $OUTPUT_PATH -P $PASSWD_FILE $SERVER > /dev/null 2>&1 &
pid=$!
echo $pid > $tempdir/pid
| Shell |
#!/bin/sh
OUTPUT_PATH=$1
tempdir=`dirname $OUTPUT_PATH`
pid=`cat $tempdir/pid`
kill -INT $pid
| Shell |
#!/bin/sh
REVNO=`svn info | grep Revision: | cut -c 11-`
ant -Dversion=a$REVNO
| Shell |
#!/bin/sh
REVNO=`svn info | grep Revision: | cut -c 11-`
ant -Dversion=a$REVNO
| Shell |
#!/bin/sh
PROG_PATH=$1
OUTPUT_PATH=$2
SERVER=$3
mydir=`dirname $0`
tempdir=`dirname $OUTPUT_PATH`
PASSWD_FILE=$mydir/vnc-password-file
if [ ! -e $tempdir ]
then
mkdir $tempdir
fi
nohup $PROG_PATH -n -o $OUTPUT_PATH -P $PASSWD_FILE $SERVER > /dev/null 2>&1 &
pid=$!
echo $pid > $tempdir/pid
| Shell |
#!/bin/sh
OUTPUT_PATH=$1
tempdir=`dirname $OUTPUT_PATH`
pid=`cat $tempdir/pid`
kill -INT $pid
| Shell |
#!/bin/sh
PROG_PATH=$1
OUTPUT_PATH=$2
SERVER=$3
mydir=`dirname $0`
tempdir=`dirname $OUTPUT_PATH`
PASSWD_FILE=$mydir/vnc-password-file
if [ ! -e $tempdir ]
then
mkdir $tempdir
fi
nohup $PROG_PATH -n -o $OUTPUT_PATH -P $PASSWD_FILE $SERVER > /dev/null 2>&1 &
pid=$!
echo $pid > $tempdir/pid
| Shell |
#!/bin/sh
OUTPUT_PATH=$1
tempdir=`dirname $OUTPUT_PATH`
pid=`cat $tempdir/pid`
kill -INT $pid
| Shell |
#!/bin/sh
REVNO=`svn info | grep Revision: | cut -c 11-`
ant -Dversion=a$REVNO
| Shell |
#!/bin/bash
mydir=`dirname $0`
export ANT_HOME=$mydir/tools/apache-ant-1.7.0
export ANT_OPTS="-Xmx1024M"
if [ -z "$env" ]
then
env=localdev
fi
$ANT_HOME/bin/ant $BUILD_OPTS -f $mydir/build.xml "$@"
| Shell |
#!/bin/sh
REVNO=`svn info | grep Revision: | cut -c 11-`
ant -Dversion=a$REVNO
| Shell |
#!/bin/bash
mydir=`dirname $0`
export ANT_HOME=$mydir/tools/apache-ant-1.7.0
export ANT_OPTS="-Xmx1024M"
if [ -z "$env" ]
then
env=localdev
fi
$ANT_HOME/bin/ant $BUILD_OPTS -f $mydir/build.xml "$@"
| Shell |
#!/bin/sh
PROG_PATH=$1
OUTPUT_PATH=$2
SERVER=$3
mydir=`dirname $0`
tempdir=`dirname $OUTPUT_PATH`
PASSWD_FILE=$mydir/vnc-password-file
if [ ! -e $tempdir ]
then
mkdir $tempdir
fi
nohup $PROG_PATH -n -o $OUTPUT_PATH -P $PASSWD_FILE $SERVER > /dev/null 2>&1 &
pid=$!
echo $pid > $tempdir/pid
| Shell |
#!/bin/sh
OUTPUT_PATH=$1
tempdir=`dirname $OUTPUT_PATH`
pid=`cat $tempdir/pid`
kill -INT $pid
| Shell |
#!/bin/sh
PROG_PATH=$1
OUTPUT_PATH=$2
SERVER=$3
mydir=`dirname $0`
tempdir=`dirname $OUTPUT_PATH`
PASSWD_FILE=$mydir/vnc-password-file
if [ ! -e $tempdir ]
then
mkdir $tempdir
fi
nohup $PROG_PATH -n -o $OUTPUT_PATH -P $PASSWD_FILE $SERVER > /dev/null 2>&1 &
pid=$!
echo $pid > $tempdir/pid
| Shell |
#!/bin/sh
OUTPUT_PATH=$1
tempdir=`dirname $OUTPUT_PATH`
pid=`cat $tempdir/pid`
kill -INT $pid
| Shell |
#!/bin/sh
REVNO=`svn info | grep Revision: | cut -c 11-`
ant -Dversion=a$REVNO
| Shell |
#!/bin/sh
REVNO=`svn info | grep Revision: | cut -c 11-`
ant -Dversion=a$REVNO
| Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.