Built and tested basic structure of the source of debmirrorman, added build.sh for building the source into a single executable file from the individual .sh and .lib.sh files.
This commit is contained in:
@@ -0,0 +1,128 @@
|
||||
## DebMirror Manager Actions Library
|
||||
|
||||
function doAddRepo {
|
||||
echo "Add Repo"
|
||||
exit
|
||||
}
|
||||
|
||||
function doEditRepo {
|
||||
echo "Edit Repo ${1}"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelper {
|
||||
echo "Helper"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperAdd {
|
||||
echo "Helper Add"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperEditRepo {
|
||||
echo "Helper Edit"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperListRepos {
|
||||
echo "Helper List"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperQuietSyncRepos {
|
||||
echo "Helper Silent Run"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperRemoveRepo {
|
||||
echo "Helper Remove"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperRepoUsage {
|
||||
echo "Helper Usage"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperShowRepo {
|
||||
echo "Helper Show"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperSyncRepos {
|
||||
echo "Helper Run"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperTestRepo {
|
||||
echo "Helper Dryrun"
|
||||
exit
|
||||
}
|
||||
|
||||
function doHelperUpdater {
|
||||
echo "Helper Update"
|
||||
exit
|
||||
}
|
||||
|
||||
function doLicense {
|
||||
echo "License"
|
||||
exit
|
||||
}
|
||||
|
||||
function doListRepos {
|
||||
echo "List Repos"
|
||||
exit
|
||||
}
|
||||
|
||||
function doQuietSyncRepos {
|
||||
if [[ -z "${1}" ]]; then
|
||||
echo "Silent Run All Repos"
|
||||
else
|
||||
echo "Silent Run Repo ${1}"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
function doRemoveRepo {
|
||||
echo "Remove Repo ${1}"
|
||||
exit
|
||||
}
|
||||
|
||||
function doRepoUsage {
|
||||
if [[ -z "${1}" ]]; then
|
||||
echo "Usage All Repos"
|
||||
else
|
||||
echo "Usage Repo ${1}"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
function doShowRepo {
|
||||
echo "Show Repo ${1}"
|
||||
exit
|
||||
}
|
||||
|
||||
function doSyncRepos {
|
||||
if [[ -z "${1}" ]]; then
|
||||
echo "Run All Repos"
|
||||
else
|
||||
echo "Run Repo ${1}"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
function doTestRepo {
|
||||
echo "Dryrun Repo ${1}"
|
||||
exit
|
||||
}
|
||||
|
||||
function doUpdater {
|
||||
echo "Updater"
|
||||
exit
|
||||
}
|
||||
|
||||
function doVersion {
|
||||
echo "DebMirror Manager version ${VERSION}"
|
||||
exit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user