diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-21 21:21:59 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-21 21:21:59 -0300 |
commit | a30ca03696de1d32006752ff62d1eeecf93ed91f (patch) | |
tree | e0462121de3487058e49e9a323dad001f7b3fc64 | |
parent | 214a0e75d3702b2036a6ba6dce45cf2df5412649 (diff) | |
download | stowpkg-a30ca03696de1d32006752ff62d1eeecf93ed91f.tar.gz stowpkg-a30ca03696de1d32006752ff62d1eeecf93ed91f.tar.bz2 |
Utility functions: ls and location
-rwxr-xr-x | stowpkg | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -272,6 +272,14 @@ stowpkg_sources () { ls -1 $SOURCES } +stowpkg_ls () { + ( cd $BASE && ls $* ) +} + +stowpkg_location () { + echo $BASE +} + stowpkg_switch () { local package="$1" local version="$2" |