code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/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 immediately after a Subversion txn is
# created and populated with initial revprops 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 fi... | 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/sh
echo ""
echo "Script to start Yafrid-NG"
echo ""
echo "Deploying the node and the registry..."
icegridnode --Ice.Config=config.icegrid &
sleep 3
echo ""
echo "Deploying Yafrid-NG..."
icegridadmin --Ice.Config=config.icegrid -e "application add yafridng.xml"
#arrancando el router
icegridadmin --Ice.Config... | Shell |
#!/bin/sh
echo ""
echo "Script to start Yafrid-NG"
echo ""
echo "Deploying the node and the registry..."
icegridnode --Ice.Config=config.icegrid &
sleep 3
echo ""
echo "Deploying Yafrid-NG..."
icegridadmin --Ice.Config=config.icegrid -e "application add yafridng.xml"
#arrancando el router
icegridadmin --Ice.Config... | Shell |
#!/bin/sh
echo ""
echo "Script to stop Yafrid-NG"
echo ""
echo "Removing Yafrid-NG application..."
icegridadmin --Ice.Config=config.icegrid -e "application remove Yafridng"
echo "Shutting down Node1"
icegridadmin --Ice.Config=config.icegrid -e "node shutdown Node1"
| Shell |
#!/bin/sh
echo ""
echo "Script to stop Yafrid-NG"
echo ""
echo "Removing Yafrid-NG application..."
icegridadmin --Ice.Config=config.icegrid -e "application remove Yafridng"
echo "Shutting down Node1"
icegridadmin --Ice.Config=config.icegrid -e "node shutdown Node1"
| Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
mono ${0}.exe $*
| Shell |
#!/bin/sh
mono ${0}.exe $*
| Shell |
#!/usr/bin/env sh
nant /f:mono.build $*
| Shell |
#!/bin/sh
# Startup script for MasterShaper
# Andreas Unterkircher, unki@netshadow.at
PATH_TO_MS="/var/www/shaper"
TC_COLLECTOR="./tc_collector.pl -d"
INIT_MS="php index.php"
cd ${PATH_TO_MS}
# See how we were called.
case "$1" in
start)
echo -n "Starting MasterShaper: "
${INIT_MS} load
echo -n "S... | Shell |
#!/bin/sh
# Startup script for MasterShaper
# Andreas Unterkircher, unki@netshadow.at
PATH_TO_MS="/var/www/shaper"
TC_COLLECTOR="./tc_collector.pl -d"
INIT_MS="php index.php"
cd ${PATH_TO_MS}
# See how we were called.
case "$1" in
start)
echo -n "Starting MasterShaper: "
${INIT_MS} load
echo -n "S... | Shell |
#!/bin/bash
#/***************************************************************************
# *
# * Copyright (c) by Andreas Unterkircher, unki@netshadow.at
# * All rights reserved
# *
# * This program is free software; you can redistribute it and/or modify
# * it under the terms of the GNU General Public License as p... | Shell |
#!/bin/bash
#/***************************************************************************
# *
# * Copyright (c) by Andreas Unterkircher, unki@netshadow.at
# * All rights reserved
# *
# * This program is free software; you can redistribute it and/or modify
# * it under the terms of the GNU General Public License as p... | Shell |
#! /bin/bash
source /etc/conf.d/http-replicator
/usr/bin/repcacheman.py $GENERAL_OPTS
| Shell |
#! /bin/bash
source /etc/conf.d/http-replicator
/usr/bin/repcacheman.py $GENERAL_OPTS
| Shell |
#! /bin/sh -e
# All lines beginning with `# DP:' are a description of the patch.
# DP: Add grsecurity enhancements to glibc
# DP: * Adds Stefan Esser's unlink sanity check
# DP: * Removes LD_DEBUG for suid apps
# DP: * Fixes a glibc bug where certain envvars are interpreted
# DP: even if UNSECURE_ENVVARS says to dro... | Shell |
#! /bin/sh -e
# DP: Description: atomicity.h placeholder for HPPA
# DP: Author: Carlos O'Donell <carlos@baldric.uwo.ca>
# DP: Upstream status: Not submitted upstream
# DP: Status Details: --
# DP: Date: November 16, 2002
if [ $# -ne 2 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
... | Shell |
#! /bin/sh -e
# DP: Description: atomicity.h placeholder for HPPA
# DP: Author: Carlos O'Donell <carlos@baldric.uwo.ca>
# DP: Upstream status: Not submitted upstream
# DP: Status Details: --
# DP: Date: November 16, 2002
if [ $# -ne 2 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
... | Shell |
#! /bin/sh -e
# All lines beginning with `# DP:' are a description of the patch.
# DP: Add grsecurity enhancements to glibc
# DP: * Adds Stefan Esser's unlink sanity check
# DP: * Removes LD_DEBUG for suid apps
# DP: * Fixes a glibc bug where certain envvars are interpreted
# DP: even if UNSECURE_ENVVARS says to dro... | Shell |
#! /bin/sh -e
# DP: Description: Fix localedef segfault when run under exec-shield,
# PaX or similar. (#231438, #198099)
# DP: Dpatch Author: James Troup <james@nocrew.org>
# DP: Patch Author: (probably) Jakub Jelinek <jakub@redhat.com>
# DP: Upstream status: Unknown
# DP: Status Details: Unknown
# DP: Date: 20... | Shell |
#! /bin/sh -e
# DP: Description: Fix localedef segfault when run under exec-shield,
# PaX or similar. (#231438, #198099)
# DP: Dpatch Author: James Troup <james@nocrew.org>
# DP: Patch Author: (probably) Jakub Jelinek <jakub@redhat.com>
# DP: Upstream status: Unknown
# DP: Status Details: Unknown
# DP: Date: 20... | Shell |
#!/bin/sh
rm -fr al
mkdir al
cp -a lib*.so* al/
/usr/local/android-ndk-r5/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-strip --strip-unneeded al/* || echo "Can't find strip for android - pushing unstripped libs to device"
adb push al /data/local/qt/lib
| Shell |
#!/bin/sh
mkdir /data/local/qt/include/QtLocation/
cp *.h QGeo* QNmea* /data/local/qt/include/QtLocation/
| Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| 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 |
#
# Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# - Redistributions of source code must retain the above copyright
# notice, this ... | Shell |
#!/bin/sh
ver=`date +1.%y.%j`
./make-package-xml.sh > _package.xml
pear package _package.xml
rm _package.xml -f
pear uninstall pear/yafext
pear install -f yafext-$ver.tgz
pear list -a
echo "Done";
| Shell |
#!/bin/sh
ver=`date +1.%y.%j`
./make-package-xml.sh > _package.xml
pear package _package.xml
rm _package.xml -f
pear uninstall pear/yafext
pear install -f yafext-$ver.tgz
pear list -a
echo "Done";
| Shell |
#!/bin/sh
# Copyright 2011 Argos <argos66@gmail.com>
set -e
PHP_CONF_PATH=/etc/php5
for ppkg in apache cli cgi apache2; do
if [ -f $PHP_CONF_PATH/$ppkg/php.ini ]; then
if grep -q "clamav.so" $PHP_CONF_PATH/$ppkg/php.ini; then
phptemp=`mktemp`
sed "s/extension=clamav.so//;s/clamav\..*//;s/\[clamav\]//;" < $PH... | Shell |
#!/bin/sh
# Copyright 2011 Argos <argos66@gmail.com>
set -e
PHP_CONF_PATH=/etc/php5
for ppkg in apache cli cgi apache2; do
if [ -f $PHP_CONF_PATH/$ppkg/php.ini ]; then
if grep -q "clamav.so" $PHP_CONF_PATH/$ppkg/php.ini; then
phptemp=`mktemp`
sed "s/extension=clamav.so//;s/clamav\..*//;s/\[clamav\]//;" < $PH... | Shell |
#!/bin/sh
# Copyright 2011 Argos <argos66@gmail.com>
set -e
. /usr/share/debconf/confmodule
db_get php-clamav/edit_phpini || true
PHP_CONF_PATH=/etc/php5
if [ "$RET" = true ]; then
#Deletion of older php-clamav method
for ppkg in apache cli cgi apache2; do
if [ -f $PHP_CONF_PATH/$ppkg/php.ini ]; then
... | Shell |
#!/bin/sh -e
# Copyright 2011 Argos <argos66@gmail.com>
set -e
. /usr/share/debconf/confmodule
db_input medium php-clamav/edit_phpini || true
db_go || true
| Shell |
#!/bin/sh
# Copyright 2011 Argos <argos66@gmail.com>
set -e
. /usr/share/debconf/confmodule
db_get php-clamav/edit_phpini || true
PHP_CONF_PATH=/etc/php5
if [ "$RET" = true ]; then
#Deletion of older php-clamav method
for ppkg in apache cli cgi apache2; do
if [ -f $PHP_CONF_PATH/$ppkg/php.ini ]; then
... | Shell |
#!/bin/sh -e
# Copyright 2011 Argos <argos66@gmail.com>
set -e
. /usr/share/debconf/confmodule
db_input medium php-clamav/edit_phpini || true
db_go || true
| Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/bash
# Moves the translation into directories named after the language code
if [ -z $1 ]; then
TARGETDIR=/tmp/yajhfc-translation
else
TARGETDIR=$1
fi
if [ ! -d $TARGETDIR ]; then
mkdir -p $TARGETDIR
fi
# Usage copyfile FILE
copyfile() {
PO=$1
LANG=${PO##*_}
LANG=${LANG%.po}
PREFIX=${PO%%_*}
... | Shell |
#!/bin/bash
# Builds all po files
echo 'Extracting Strings ...'
. ./jxgettext.sh
java -cp ../../../util FillUIProps UIDefaults.props UIDefaults.po
echo 'Merging language files ...'
for PO in messages_*.po ; do
echo $PO
msgmerge -N -U $PO messages.po
done
# Create a template without translations:
CLO_TMP=Command... | Shell |
#!/bin/bash
# Builds po files
# Usage:
# - With no parameters: build all files
# - With a single parameter: Build the po file for the requested language
if [ -z `which javac` ]; then
echo 'javac not found. Please make sure javac can be found in your PATH.'
exit 1 ;
fi
if [ -z `which msgfmt` ]; then
echo 'msgfmt n... | Shell |
#!/bin/sh
# Extracts all translatable strings into messages.po
find .. -name '*.java' | xgettext -k_ --from-code=utf-8 -f-
| Shell |
#!/bin/sh
# Checks the available translations:
for PO in *_*.po ; do
echo "Checking $PO:"
msgfmt --statistics --check $PO
echo "----------"
echo
done
| Shell |
#!/bin/sh
# Builds the faq document from the LaTeX source
buildtex() {
PREFIX=${1%%.tex}
if [ ! -f $PREFIX.toc -o $PREFIX.toc -ot $1 ]; then
pdflatex $1 ;
fi
pdflatex $1
# Some fixes for latex2html:
TEXNAME=$1
if [ $PREFIX == faq_tr ]; then
FILEENC=latin5
TEXNAME="$1.orig"
mv $1 $TEXNAME
ic... | Shell |
#!/bin/bash
find org/jivesoftware -name '*.java' -exec sed -i 's:import org.xmlpull.mxp1.MXParser:import org.xmlpull.v1.XmlPullParserFactory:' '{}' ';'
find org/jivesoftware -name '*.java' -exec sed -i 's:new MXParser():XmlPullParserFactory.newInstance().newPullParser():g' '{}' ';'
| Shell |
#!/bin/bash
rm org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
| Shell |
#!/bin/bash
mkdir -p org/apache/harmony/
mv javax org/apache/harmony/
find org/apache/harmony/ -name '*.java' -exec sed -i 's:package javax:package org.apache.harmony.javax:g' '{}' ';'
find -name '*.java' -exec sed -i 's:import javax.security.sasl:import org.apache.harmony.javax.security.sasl:g' '{}' ';'
find -name '*... | Shell |
#!/bin/bash
find -name '*.java' -exec sed -i 's:import org.apache.harmony.javax.security.sasl.Sasl;:import de.measite.smack.Sasl;:g' '{}' ';'
| Shell |
#!/bin/bash
find org/apache/harmony -name '*.java' -exec sed -i 's:import org.apache.harmony.auth.internal.nls.Messages;::' '{}' ';'
find org/apache/harmony -name '*.java' -exec sed -i 's:Messages.getString(\("[^"]*"\)):\1:g' '{}' ';'
| Shell |
#!/bin/bash
rm -rf org/ietf/
rm -rf org/apache/harmony/auth
rm -rf org/apache/harmony/javax/security/auth/kerberos/
rm -rf org/apache/harmony/javax/security/auth/x500/
rm org/apache/harmony/javax/security/auth/Policy.java
| Shell |
#!/bin/bash
rm org/jivesoftware/smack/debugger/LiteDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebugger.java
rm org/jivesoftware/smackx/debugger/EnhancedDebuggerWindow.java
| Shell |
#!/bin/bash
echo "## Step 00: initialize"
(
if ! [ -d build ]; then
mkdir build
mkdir build/src
mkdir build/src/trunk
fi
)
fetch() {
(
cd src
if ! [ -f "${2}/.svn/entries" ]; then
mkdir "${2}"
cd "${2}"
svn co --non-interactive --trust-server-cert "${1}" "."
else
cd "${2}"
sv... | 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
LANGUAGES=`ls po/*.po`
TEMP=`mktemp`
set -x
xgettext -L "python" --keyword=__tr --keyword=_ --keyword=i18n yali/gui/Ui/*.py yali/gui/*.py yali/storage/*.py yali/storage/devices/*.py yali/storage/library/*.py yali/storage/formats/*.py yali/*.py -o po/yali.pot
for lang in $LANGUAGES
do
#msgcat --use-fir... | Shell |
#!/bin/sh
uis=`ls *.ui`
for ui in $uis
do
uic3 -convert $ui > $ui.new
mv $ui.new $ui
done
echo -e "\n\033[32mDone..\033[0m"
| Shell |
#!/bin/sh
uis=`ls *.ui`
for ui in $uis
do
uic3 -convert $ui > $ui.new
mv $ui.new $ui
done
echo -e "\n\033[32mDone..\033[0m"
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
TEMP=`mktemp`
set -x
xgettext -L "python" --keyword=__tr --keyword=_ --keyword=i18n yali/gui/Ui/*.py yali/gui/*.py yali/storage/*.py yali/storage/devices/*.py yali/storage/library/*.py yali/storage/formats/*.py yali/*.py -o po/yali.pot
for lang in $LANGUAGES
do
#msgcat --use-fir... | Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
for lang in $LANGUAGES
do
echo -en $lang "\t"
msgfmt -cv $lang
done
rm messages.mo
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
for lang in $LANGUAGES
do
echo -en $lang "\t"
msgfmt -cv $lang
done
rm messages.mo
| Shell |
#!/bin/sh -l
HOME=/root
USER=root
export HOME USER
ROOT_WINDOW_BG=-br
if test -x /bin/plymouth && /bin/plymouth --ping; then
/bin/plymouth deactivate
if /bin/plymouth --has-active-vt; then
ROOT_WINDOW_BG=-nr
else
/bin/plymouth quit
fi
fi
exec /usr/bin/xinit /usr/bin/yali-bin -- vt7 -... | Shell |
#!/bin/bash
version=`python -c "import platform; print platform.python_version()[:3]"`
cp -rf /usr/lib/python$version/site-packages/yali/ /yali
mount --bind /yali/ /usr/lib/python$version/site-packages/yali/
echo "Yali is ready in /yali ..."
| Shell |
#!/bin/sh -l
HOME=/root
USER=root
export HOME USER
ROOT_WINDOW_BG=-br
if test -x /bin/plymouth && /bin/plymouth --ping; then
/bin/plymouth deactivate
if /bin/plymouth --has-active-vt; then
ROOT_WINDOW_BG=-nr
else
/bin/plymouth quit
fi
fi
exec /usr/bin/xinit /usr/bin/yali-bin -- vt7 -... | Shell |
#!/bin/bash
version=`python -c "import platform; print platform.python_version()[:3]"`
cp -rf /usr/lib/python$version/site-packages/yali/ /yali
mount --bind /yali/ /usr/lib/python$version/site-packages/yali/
echo "Yali is ready in /yali ..."
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
TEMP=`mktemp`
set -x
xgettext -L "python" --keyword=__tr --keyword=_ --keyword=i18n yali/gui/Ui/*.py yali/gui/*.py yali/storage/*.py yali/storage/devices/*.py yali/storage/library/*.py yali/storage/formats/*.py yali/*.py -o po/yali.pot
for lang in $LANGUAGES
do
#msgcat --use-fir... | Shell |
#!/bin/sh
uis=`ls *.ui`
for ui in $uis
do
uic3 -convert $ui > $ui.new
mv $ui.new $ui
done
echo -e "\n\033[32mDone..\033[0m"
| Shell |
#!/bin/sh
uis=`ls *.ui`
for ui in $uis
do
uic3 -convert $ui > $ui.new
mv $ui.new $ui
done
echo -e "\n\033[32mDone..\033[0m"
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
TEMP=`mktemp`
set -x
xgettext -L "python" --keyword=__tr --keyword=_ --keyword=i18n yali/gui/Ui/*.py yali/gui/*.py yali/storage/*.py yali/storage/devices/*.py yali/storage/library/*.py yali/storage/formats/*.py yali/*.py -o po/yali.pot
for lang in $LANGUAGES
do
#msgcat --use-fir... | Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
for lang in $LANGUAGES
do
echo -en $lang "\t"
msgfmt -cv $lang
done
rm messages.mo
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
for lang in $LANGUAGES
do
echo -en $lang "\t"
msgfmt -cv $lang
done
rm messages.mo
| Shell |
#!/bin/sh -l
HOME=/root
USER=root
export HOME USER
ROOT_WINDOW_BG=-br
if test -x /bin/plymouth && /bin/plymouth --ping; then
/bin/plymouth deactivate
if /bin/plymouth --has-active-vt; then
ROOT_WINDOW_BG=-nr
else
/bin/plymouth quit
fi
fi
exec /usr/bin/xinit /usr/bin/yali-bin -- vt7 -... | Shell |
#!/bin/bash
version=`python -c "import platform; print platform.python_version()[:3]"`
cp -rf /usr/lib/python$version/site-packages/yali/ /yali
mount --bind /yali/ /usr/lib/python$version/site-packages/yali/
echo "Yali is ready in /yali ..."
| Shell |
#!/bin/sh -l
HOME=/root
USER=root
export HOME USER
ROOT_WINDOW_BG=-br
if test -x /bin/plymouth && /bin/plymouth --ping; then
/bin/plymouth deactivate
if /bin/plymouth --has-active-vt; then
ROOT_WINDOW_BG=-nr
else
/bin/plymouth quit
fi
fi
exec /usr/bin/xinit /usr/bin/yali-bin -- vt7 -... | Shell |
#!/bin/bash
version=`python -c "import platform; print platform.python_version()[:3]"`
cp -rf /usr/lib/python$version/site-packages/yali/ /yali
mount --bind /yali/ /usr/lib/python$version/site-packages/yali/
echo "Yali is ready in /yali ..."
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
TEMP=`mktemp`
set -x
xgettext -L "python" --keyword=__tr --keyword=_ --keyword=i18n yali/gui/Ui/*.py yali/gui/*.py yali/storage/*.py yali/storage/devices/*.py yali/storage/library/*.py yali/storage/formats/*.py yali/*.py -o po/yali.pot
for lang in $LANGUAGES
do
#msgcat --use-fir... | Shell |
#!/bin/sh
uis=`ls *.ui`
for ui in $uis
do
uic3 -convert $ui > $ui.new
mv $ui.new $ui
done
echo -e "\n\033[32mDone..\033[0m"
| Shell |
#!/bin/sh
uis=`ls *.ui`
for ui in $uis
do
uic3 -convert $ui > $ui.new
mv $ui.new $ui
done
echo -e "\n\033[32mDone..\033[0m"
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
TEMP=`mktemp`
set -x
xgettext -L "python" --keyword=__tr --keyword=_ --keyword=i18n yali/gui/Ui/*.py yali/gui/*.py yali/storage/*.py yali/storage/devices/*.py yali/storage/library/*.py yali/storage/formats/*.py yali/*.py -o po/yali.pot
for lang in $LANGUAGES
do
#msgcat --use-fir... | Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
for lang in $LANGUAGES
do
echo -en $lang "\t"
msgfmt -cv $lang
done
rm messages.mo
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
for lang in $LANGUAGES
do
echo -en $lang "\t"
msgfmt -cv $lang
done
rm messages.mo
| Shell |
#!/bin/sh -l
HOME=/root
USER=root
export HOME USER
ROOT_WINDOW_BG=-br
if test -x /bin/plymouth && /bin/plymouth --ping; then
/bin/plymouth deactivate
if /bin/plymouth --has-active-vt; then
ROOT_WINDOW_BG=-nr
else
/bin/plymouth quit
fi
fi
exec /usr/bin/xinit /usr/bin/yali-bin -- vt7 -... | Shell |
#!/bin/bash
version=`python -c "import platform; print platform.python_version()[:3]"`
cp -rf /usr/lib/python$version/site-packages/yali/ /yali
mount --bind /yali/ /usr/lib/python$version/site-packages/yali/
echo "Yali is ready in /yali ..."
| Shell |
#!/bin/sh -l
HOME=/root
USER=root
export HOME USER
ROOT_WINDOW_BG=-br
if test -x /bin/plymouth && /bin/plymouth --ping; then
/bin/plymouth deactivate
if /bin/plymouth --has-active-vt; then
ROOT_WINDOW_BG=-nr
else
/bin/plymouth quit
fi
fi
exec /usr/bin/xinit /usr/bin/yali-bin -- vt7 -... | Shell |
#!/bin/bash
version=`python -c "import platform; print platform.python_version()[:3]"`
cp -rf /usr/lib/python$version/site-packages/yali/ /yali
mount --bind /yali/ /usr/lib/python$version/site-packages/yali/
echo "Yali is ready in /yali ..."
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
TEMP=`mktemp`
set -x
xgettext -L "python" --keyword=__tr --keyword=_ --keyword=i18n yali/gui/Ui/*.py yali/gui/*.py yali/storage/*.py yali/storage/devices/*.py yali/storage/library/*.py yali/storage/formats/*.py yali/*.py -o po/yali.pot
for lang in $LANGUAGES
do
#msgcat --use-fir... | Shell |
#!/bin/sh
uis=`ls *.ui`
for ui in $uis
do
uic3 -convert $ui > $ui.new
mv $ui.new $ui
done
echo -e "\n\033[32mDone..\033[0m"
| Shell |
#!/bin/sh
uis=`ls *.ui`
for ui in $uis
do
uic3 -convert $ui > $ui.new
mv $ui.new $ui
done
echo -e "\n\033[32mDone..\033[0m"
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
TEMP=`mktemp`
set -x
xgettext -L "python" --keyword=__tr --keyword=_ --keyword=i18n yali/gui/Ui/*.py yali/gui/*.py yali/storage/*.py yali/storage/devices/*.py yali/storage/library/*.py yali/storage/formats/*.py yali/*.py -o po/yali.pot
for lang in $LANGUAGES
do
#msgcat --use-fir... | Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
for lang in $LANGUAGES
do
echo -en $lang "\t"
msgfmt -cv $lang
done
rm messages.mo
| Shell |
#!/bin/bash
LANGUAGES=`ls po/*.po`
for lang in $LANGUAGES
do
echo -en $lang "\t"
msgfmt -cv $lang
done
rm messages.mo
| Shell |
#!/bin/sh -l
HOME=/root
USER=root
export HOME USER
ROOT_WINDOW_BG=-br
if test -x /bin/plymouth && /bin/plymouth --ping; then
/bin/plymouth deactivate
if /bin/plymouth --has-active-vt; then
ROOT_WINDOW_BG=-nr
else
/bin/plymouth quit
fi
fi
exec /usr/bin/xinit /usr/bin/yali-bin -- vt7 -... | Shell |
#!/bin/bash
version=`python -c "import platform; print platform.python_version()[:3]"`
cp -rf /usr/lib/python$version/site-packages/yali/ /yali
mount --bind /yali/ /usr/lib/python$version/site-packages/yali/
echo "Yali is ready in /yali ..."
| Shell |
#!/bin/sh -l
HOME=/root
USER=root
export HOME USER
ROOT_WINDOW_BG=-br
if test -x /bin/plymouth && /bin/plymouth --ping; then
/bin/plymouth deactivate
if /bin/plymouth --has-active-vt; then
ROOT_WINDOW_BG=-nr
else
/bin/plymouth quit
fi
fi
exec /usr/bin/xinit /usr/bin/yali-bin -- vt7 -... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.