This commit is contained in:
sfigato 2021-02-21 11:27:08 +01:00
parent eb0992f675
commit a33a5acee3
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -16,11 +16,11 @@ steps:
image: leophys/pikaur:0.2 image: leophys/pikaur:0.2
commands: commands:
- | - |
if ![ "$(sudo ls -A /cache_stage/lib)" ]; then if ! [ "$(sudo ls -A /cache_stage/lib)" ]; then
sudo cp -r /var/lib/pacman /drone/lib_pacman sudo cp -r /var/lib/pacman /drone/lib_pacman
fi fi
- | - |
if ![ "$(sudo ls -A /cache_stage/cache)" ]; then if ! [ "$(sudo ls -A /cache_stage/cache)" ]; then
sudo cp -r /var/cache/pacman /drone/cache_pacman sudo cp -r /var/cache/pacman /drone/cache_pacman
fi fi
volumes: volumes:
@ -114,11 +114,11 @@ steps:
image: leophys/pikaur:0.2 image: leophys/pikaur:0.2
commands: commands:
- | - |
if ![ "$(sudo ls -A /cache_stage/lib)" ]; then if ! [ "$(sudo ls -A /cache_stage/lib)" ]; then
sudo cp -r /var/lib/pacman /drone/lib_pacman sudo cp -r /var/lib/pacman /drone/lib_pacman
fi fi
- | - |
if ![ "$(sudo ls -A /cache_stage/cache)" ]; then if ! [ "$(sudo ls -A /cache_stage/cache)" ]; then
sudo cp -r /var/cache/pacman /drone/cache_pacman sudo cp -r /var/cache/pacman /drone/cache_pacman
fi fi
volumes: volumes: