summaryrefslogtreecommitdiff
path: root/lib/common.sh
AgeCommit message (Expand)Author
2017-04-20lib/common.sh: Discourage use in favor of libremessages.Luke Shumaker
2017-04-20lib/common.sh: Internationalize.Luke Shumaker
2017-04-20Add `# shellcheck` directives to quiet shellcheck.Luke Shumaker
2017-04-20Make slightly more involved changes to make shellcheck happy.Luke Shumaker
2017-04-20Quote strings that shellcheck warns about.Luke Shumaker
2017-04-20Make purely stylistic changes to make shellcheck happier.Luke Shumaker
2017-04-05lib/common.sh: Make it safe to include multiple times.Luke Shumaker
2017-04-05lib/common.sh: Adjust to work properly with `set -u`.Luke Shumaker
2017-04-05Avoid using string interpolation; use printf format strings instead.Luke Shumaker
2017-04-05Add a "License:" tag to all code files.Luke Shumaker
2017-04-05Add '#!/hint/bash' headers to non-executable bash files.Luke Shumaker
2017-04-05lib/common.sh: Make setup_workdir()/cleanup() safe for programs to not useLuke Shumaker
2017-04-05lib/common.sh: lock, slock: Create directories for locks if necessary.Luke Shumaker
2017-04-05lib/common.sh: lock, slock: Allow locks to be inherited.Luke Shumaker
2017-04-05lib/common.sh: add 'lock_close'; use it as appropriate.Luke Shumaker
2017-03-07lib/archroot.sh: Simplify check_rootJan Alexander Steffens (heftig)
2017-03-04lib: remove unused version, pkgpartsJelle van der Waa
2017-03-04lib: remove unused left, rightJelle van der Waa
2014-09-22common: remove unreachable statementDave Reisner
2014-09-22common.sh: propagate error through trap_exitDave Reisner
2014-05-10Switch to root when started as regular userSébastien Luttringer
2014-05-10get_full_version :: remove duplicated epoch checkBlackEagle
2014-05-10when cleanup is called without code exit with 0BlackEagle
2014-05-10abort and die are serious errors so throw 255 outBlackEagle
2013-11-04find_cached_package: avoid adding duplicatesDave Reisner
2013-11-01common: implement find_cached_packageDave Reisner
2013-08-08common: Properly forward arguments from die to errorDave Reisner
2013-05-03lib/common.sh: Introduce locking helper functionsJan Alexander Steffens (heftig)
2012-10-27Fix return code handlingJan Alexander Steffens (heftig)
2012-10-03Use dedicated trap functions to avoid unsetting the trap when e.g. cleanup is...Pierre Schmitz
2012-06-16mkarchroot: reset trap so it wont be called twicePierre Schmitz
2011-11-04lib/common.sh: Revise setup_workdir()Lukas Fleischer
2011-11-04lib/common.sh: Use double bracketsLukas Fleischer
2011-11-01Move common functions to a shared filePierre Schmitz