summaryrefslogtreecommitdiffstats
path: root/lib/common.sh
AgeCommit message (Expand)AuthorFilesLines
2017-04-05lib/common.sh: Make it safe to include multiple times.Luke Shumaker1-0/+3
2017-04-05lib/common.sh: Adjust to work properly with `set -u`.Luke Shumaker1-3/+4
2017-04-05Avoid using string interpolation; use printf format strings instead.Luke Shumaker1-5/+5
2017-04-05Add a "License:" tag to all code files.Luke Shumaker1-0/+2
2017-04-05Add '#!/hint/bash' headers to non-executable bash files.Luke Shumaker1-0/+2
2017-04-05lib/common.sh: Make setup_workdir()/cleanup() safe for programs to not useLuke Shumaker1-4/+7
2017-04-05lib/common.sh: lock, slock: Create directories for locks if necessary.Luke Shumaker1-0/+2
2017-04-05lib/common.sh: lock, slock: Allow locks to be inherited.Luke Shumaker1-2/+10
2017-04-05lib/common.sh: add 'lock_close'; use it as appropriate.Luke Shumaker1-0/+8
2017-03-07lib/archroot.sh: Simplify check_rootJan Alexander Steffens (heftig)1-12/+0
2017-03-04lib: remove unused version, pkgpartsJelle van der Waa1-1/+1
2017-03-04lib: remove unused left, rightJelle van der Waa1-2/+0
2014-09-22common: remove unreachable statementDave Reisner1-2/+1
2014-09-22common.sh: propagate error through trap_exitDave Reisner1-1/+2
2014-05-10Switch to root when started as regular userSébastien Luttringer1-0/+13
2014-05-10get_full_version :: remove duplicated epoch checkBlackEagle1-1/+1
2014-05-10when cleanup is called without code exit with 0BlackEagle1-1/+1
2014-05-10abort and die are serious errors so throw 255 outBlackEagle1-3/+3
2013-11-04find_cached_package: avoid adding duplicatesDave Reisner1-2/+7
2013-11-01common: implement find_cached_packageDave Reisner1-0/+69
2013-08-08common: Properly forward arguments from die to errorDave Reisner1-1/+1
2013-05-03lib/common.sh: Introduce locking helper functionsJan Alexander Steffens (heftig)1-0/+24
2012-10-27Fix return code handlingJan Alexander Steffens (heftig)1-1/+1
2012-10-03Use dedicated trap functions to avoid unsetting the trap when e.g. cleanup is...Pierre Schmitz1-4/+12
2012-06-16mkarchroot: reset trap so it wont be called twicePierre Schmitz1-1/+1
2011-11-04lib/common.sh: Revise setup_workdir()Lukas Fleischer1-1/+1
2011-11-04lib/common.sh: Use double bracketsLukas Fleischer1-3/+3
2011-11-01Move common functions to a shared filePierre Schmitz1-0/+124