mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 11:12:15 +03:00
Remove unnecessary debian related scripts
This commit is contained in:
parent
b230160974
commit
998010cb1b
2 changed files with 0 additions and 46 deletions
|
@ -1,33 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
###
|
|
||||||
# This script generates Ahenk package (ahenk.deb).
|
|
||||||
# Make sure you have debhelper & build-essential packages installed!
|
|
||||||
#
|
|
||||||
# Generated file can be found under /tmp/ahenk
|
|
||||||
###
|
|
||||||
set -e
|
|
||||||
|
|
||||||
pushd $(dirname $0) > /dev/null
|
|
||||||
PRJ_ROOT_PATH=$(dirname $(pwd -P))
|
|
||||||
popd > /dev/null
|
|
||||||
echo "Project path: $PRJ_ROOT_PATH"
|
|
||||||
|
|
||||||
# Generate Ahenk packages
|
|
||||||
echo "Generating Ahenk packages..."
|
|
||||||
cd "$PRJ_ROOT_PATH"
|
|
||||||
dpkg-buildpackage -b -uc
|
|
||||||
echo "Generated Ahenk packages"
|
|
||||||
|
|
||||||
EXPORT_PATH=/tmp/ahenk
|
|
||||||
echo "Export path: $EXPORT_PATH"
|
|
||||||
|
|
||||||
# Copy resulting files
|
|
||||||
echo "Copying generated Ahenk packages to $EXPORT_PATH..."
|
|
||||||
mkdir -p "$EXPORT_PATH"
|
|
||||||
cp -rf "$PRJ_ROOT_PATH"/../ahenk*.deb "$EXPORT_PATH"
|
|
||||||
cp -rf "$PRJ_ROOT_PATH"/../ahenk*.changes "$EXPORT_PATH"
|
|
||||||
echo "Copied generated Ahenk packages."
|
|
||||||
|
|
||||||
echo "Built finished successfully!"
|
|
||||||
echo "Files can be found under: $EXPORT_PATH"
|
|
|
@ -1,13 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
###
|
|
||||||
# This script updates the local repo with the latest changes from Github.
|
|
||||||
#
|
|
||||||
# The master branch will be REPLACED with what's in Github and all local changes
|
|
||||||
# will be LOST.
|
|
||||||
###
|
|
||||||
|
|
||||||
git checkout master
|
|
||||||
git fetch -f origin
|
|
||||||
git fetch --tags origin
|
|
||||||
git reset --hard origin/master
|
|
Loading…
Reference in a new issue