mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
before adding solid-state dependencies to be able to support state for components that can't be configured to store state in /nix/state/.../ (like firefox)
This commit is contained in:
parent
6392da5f90
commit
b6974f2ae6
2 changed files with 6 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#check if there are enough arguments, if not, exit with an error
|
#check if there are enough arguments, if not, exit with an error
|
||||||
|
|
||||||
debug=""; #set to "" for no debugging, set to "echo " to debug the commands
|
debug="echo "; #set to "" for no debugging, set to "echo " to debug the commands
|
||||||
|
|
||||||
if [ "$#" != 6 ] && [ "$#" != 7 ] ; then
|
if [ "$#" != 6 ] && [ "$#" != 7 ] ; then
|
||||||
echo "Incorrect number of arguments"
|
echo "Incorrect number of arguments"
|
||||||
|
|
@ -109,7 +109,7 @@ function subversionSingleStateDir {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
#echo ${subitems[@]}
|
echo Adding subitems ${subitems[@]}
|
||||||
|
|
||||||
for item in ${subitems[@]}
|
for item in ${subitems[@]}
|
||||||
do
|
do
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#check if there are enough arguments, if not, exit with an error
|
#check if there are enough arguments, if not, exit with an error
|
||||||
|
|
||||||
debug=""; #set to "" for no debugging, set to "echo " to debug the commands
|
debug="echo "; #set to "" for no debugging, set to "echo " to debug the commands
|
||||||
|
|
||||||
if [ "$#" != 6 ] && [ "$#" != 7 ] ; then
|
if [ "$#" != 6 ] && [ "$#" != 7 ] ; then
|
||||||
echo "Incorrect number of arguments"
|
echo "Incorrect number of arguments"
|
||||||
|
|
@ -34,6 +34,8 @@ if [ "$debug" != "" ] ; then
|
||||||
echo deletesvn: $deletesvn
|
echo deletesvn: $deletesvn
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# TODO: we need a solution for symlinks, svn doesnt support them
|
||||||
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
@ -109,7 +111,7 @@ function subversionSingleStateDir {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
#echo ${subitems[@]}
|
echo Adding subitems ${subitems[@]}
|
||||||
|
|
||||||
for item in ${subitems[@]}
|
for item in ${subitems[@]}
|
||||||
do
|
do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue